diff --git a/.gitignore b/.gitignore index 664680c5bf..1b63c7698a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,10 @@ .idea/ +.vs/ .vscode/ __pycache__ AssetProcessorTemp/** [Bb]uild/** +[Oo]ut/** [Cc]ache/ /install/ Editor/EditorEventLog.xml @@ -14,6 +16,8 @@ UserSettings.xml FrameCapture/** .DS_Store user*.cfg +client*.cfg +server*.cfg .mayaSwatches/ _savebackup/ #Output folder for test results when running Automated Tests diff --git a/Assets/Editor/Icons/Components/AnimGraphNetSync.svg b/Assets/Editor/Icons/Components/AnimGraphNetSync.svg new file mode 100644 index 0000000000..7bf70e69dc --- /dev/null +++ b/Assets/Editor/Icons/Components/AnimGraphNetSync.svg @@ -0,0 +1,13 @@ + + + icon / Networking / AnimGraphNetSync + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Animation.svg b/Assets/Editor/Icons/Components/Animation.svg new file mode 100644 index 0000000000..4890bb0900 --- /dev/null +++ b/Assets/Editor/Icons/Components/Animation.svg @@ -0,0 +1,7 @@ + + + icon / Animation / Animation + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/AreaLight.svg b/Assets/Editor/Icons/Components/AreaLight.svg index 932f02dd2e..a52c5d38c3 100644 --- a/Assets/Editor/Icons/Components/AreaLight.svg +++ b/Assets/Editor/Icons/Components/AreaLight.svg @@ -1,12 +1,10 @@ - - icon / Rendering / Area Light - Created with Sketch. + icon / Rendering / AreaLight - + - + diff --git a/Assets/Editor/Icons/Components/Attachment.svg b/Assets/Editor/Icons/Components/Attachment.svg index 8dcaaae336..8d1b3c0dd5 100644 --- a/Assets/Editor/Icons/Components/Attachment.svg +++ b/Assets/Editor/Icons/Components/Attachment.svg @@ -1,8 +1,6 @@ - icon / Animation / Attachment - Created with Sketch. diff --git a/Assets/Editor/Icons/Components/AudioAnimationEventsProxy.svg b/Assets/Editor/Icons/Components/AudioAnimationEventsProxy.svg index 89075c6026..e2a3d75cce 100644 --- a/Assets/Editor/Icons/Components/AudioAnimationEventsProxy.svg +++ b/Assets/Editor/Icons/Components/AudioAnimationEventsProxy.svg @@ -1,10 +1,7 @@ - - icon / Audio / Audio Animation Events Proxy - Created with Sketch. - - - + icon / Audio / AudioAnimationEventsProxy + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/AudioArea.png b/Assets/Editor/Icons/Components/AudioArea.png deleted file mode 100644 index 4b38a64f6a..0000000000 --- a/Assets/Editor/Icons/Components/AudioArea.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:89e9b8e8428924e7941ec96ca67edcdd159bf97f22a9b25eac84d1175ff89113 -size 697 diff --git a/Assets/Editor/Icons/Components/AudioArea.svg b/Assets/Editor/Icons/Components/AudioArea.svg new file mode 100644 index 0000000000..6778424c09 --- /dev/null +++ b/Assets/Editor/Icons/Components/AudioArea.svg @@ -0,0 +1,13 @@ + + + icon / Audio / AudioArea + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/AudioAreaEnvironment.svg b/Assets/Editor/Icons/Components/AudioAreaEnvironment.svg index 17bd1f96ae..527dcc9d45 100644 --- a/Assets/Editor/Icons/Components/AudioAreaEnvironment.svg +++ b/Assets/Editor/Icons/Components/AudioAreaEnvironment.svg @@ -1,15 +1,7 @@ - - icon / Audio / Audio Area Environment - Created with Sketch. - - - - - - - - + icon / Audio / AudioAreaEnvironment + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/AudioListener.svg b/Assets/Editor/Icons/Components/AudioListener.svg index 266ab04c56..edb7c62047 100644 --- a/Assets/Editor/Icons/Components/AudioListener.svg +++ b/Assets/Editor/Icons/Components/AudioListener.svg @@ -1,12 +1,10 @@ - - icon / Audio / Audio Listener - Created with Sketch. + icon / Audio / AudioListener - + - + diff --git a/Assets/Editor/Icons/Components/AudioMultiPosition.png b/Assets/Editor/Icons/Components/AudioMultiPosition.png deleted file mode 100644 index 1c8104c837..0000000000 --- a/Assets/Editor/Icons/Components/AudioMultiPosition.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c78de41c9b2018c0a5d91f8093adfdf13527259bd4b06691bdef05efeac80b0a -size 428 diff --git a/Assets/Editor/Icons/Components/AudioMultiPosition.svg b/Assets/Editor/Icons/Components/AudioMultiPosition.svg new file mode 100644 index 0000000000..273e5a060c --- /dev/null +++ b/Assets/Editor/Icons/Components/AudioMultiPosition.svg @@ -0,0 +1,13 @@ + + + icon / Audio / AudioMultiPosition + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/AudioPreload.svg b/Assets/Editor/Icons/Components/AudioPreload.svg index 8c7f075706..60334d7bdd 100644 --- a/Assets/Editor/Icons/Components/AudioPreload.svg +++ b/Assets/Editor/Icons/Components/AudioPreload.svg @@ -1,12 +1,10 @@ - - icon / Audio / Audio Preload - Created with Sketch. + icon / Audio / AudioPreload - + - + diff --git a/Assets/Editor/Icons/Components/AudioProxy.svg b/Assets/Editor/Icons/Components/AudioProxy.svg index 1ba4b72d2f..66a4653e0c 100644 --- a/Assets/Editor/Icons/Components/AudioProxy.svg +++ b/Assets/Editor/Icons/Components/AudioProxy.svg @@ -1,12 +1,10 @@ - - icon / Audio / Audio Proxy - Created with Sketch. + icon / Audio / AudioProxy - + - + diff --git a/Assets/Editor/Icons/Components/AudioRtpc.svg b/Assets/Editor/Icons/Components/AudioRtpc.svg index 3deaf7c1b2..546ef7561d 100644 --- a/Assets/Editor/Icons/Components/AudioRtpc.svg +++ b/Assets/Editor/Icons/Components/AudioRtpc.svg @@ -1,12 +1,10 @@ - - icon / Audio / Audio Rtpc - Created with Sketch. + icon / Audio / AudioRtpc - + diff --git a/Assets/Editor/Icons/Components/AudioSwitch.svg b/Assets/Editor/Icons/Components/AudioSwitch.svg index d6e80efbc7..33637543a5 100644 --- a/Assets/Editor/Icons/Components/AudioSwitch.svg +++ b/Assets/Editor/Icons/Components/AudioSwitch.svg @@ -1,12 +1,10 @@ - - icon / Audio / Audio Switch - Created with Sketch. + icon / Audio / AudioSwitch - + diff --git a/Assets/Editor/Icons/Components/AudioTrigger.svg b/Assets/Editor/Icons/Components/AudioTrigger.svg index 98a593ab61..a1aaef22a9 100644 --- a/Assets/Editor/Icons/Components/AudioTrigger.svg +++ b/Assets/Editor/Icons/Components/AudioTrigger.svg @@ -1,9 +1,7 @@ - - icon / Audio / Audio Trigger - Created with Sketch. - - + icon / Audio / AudioTrigger + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/BehaviorTree.svg b/Assets/Editor/Icons/Components/BehaviorTree.svg index 17cb672ee8..6fa1e2b334 100644 --- a/Assets/Editor/Icons/Components/BehaviorTree.svg +++ b/Assets/Editor/Icons/Components/BehaviorTree.svg @@ -1,12 +1,10 @@ - - icon / AI / Behavior Tree - Created with Sketch. + icon / AI / BehaviorTree - + diff --git a/Assets/Editor/Icons/Components/Box.svg b/Assets/Editor/Icons/Components/Box.svg new file mode 100644 index 0000000000..e47637dad9 --- /dev/null +++ b/Assets/Editor/Icons/Components/Box.svg @@ -0,0 +1,13 @@ + + + icon / Shapes / Box + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Box_Shape.svg b/Assets/Editor/Icons/Components/Box_Shape.svg index 064be90afc..32dd48ebe2 100644 --- a/Assets/Editor/Icons/Components/Box_Shape.svg +++ b/Assets/Editor/Icons/Components/Box_Shape.svg @@ -1,12 +1,10 @@ - - icon / Shapes / Box Shape - Created with Sketch. + icon / Shapes / Box_Shape - + diff --git a/Assets/Editor/Icons/Components/Capsule.svg b/Assets/Editor/Icons/Components/Capsule.svg new file mode 100644 index 0000000000..afe28de580 --- /dev/null +++ b/Assets/Editor/Icons/Components/Capsule.svg @@ -0,0 +1,13 @@ + + + icon / Shapes / Capsule + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Capsule_Shape.svg b/Assets/Editor/Icons/Components/Capsule_Shape.svg index 22a5241166..89a8866ae2 100644 --- a/Assets/Editor/Icons/Components/Capsule_Shape.svg +++ b/Assets/Editor/Icons/Components/Capsule_Shape.svg @@ -1,12 +1,10 @@ - - icon / Shapes / Capsule Shape - Created with Sketch. + icon / Shapes / Capsule_Shape - + diff --git a/Assets/Editor/Icons/Components/CharacterPhysics.svg b/Assets/Editor/Icons/Components/CharacterPhysics.svg index 47a2420068..0a0ea9ae7a 100644 --- a/Assets/Editor/Icons/Components/CharacterPhysics.svg +++ b/Assets/Editor/Icons/Components/CharacterPhysics.svg @@ -1,12 +1,10 @@ - - icon / Physics / Cry / Character Physics - Created with Sketch. + icon / Physics / Cry / CharacterPhysics - + - + diff --git a/Assets/Editor/Icons/Components/Comment.svg b/Assets/Editor/Icons/Components/Comment.svg index cdb7ac2ad6..02d54b8859 100644 --- a/Assets/Editor/Icons/Components/Comment.svg +++ b/Assets/Editor/Icons/Components/Comment.svg @@ -1,12 +1,10 @@ - - icon / Other / Comments - Created with Sketch. + icon / Other / Comment - + diff --git a/Assets/Editor/Icons/Components/ComponentPlaceholder.svg b/Assets/Editor/Icons/Components/ComponentPlaceholder.svg new file mode 100644 index 0000000000..7f357afba4 --- /dev/null +++ b/Assets/Editor/Icons/Components/ComponentPlaceholder.svg @@ -0,0 +1,13 @@ + + + icon / Other / ComponentPlaceholder + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Component_Placeholder.svg b/Assets/Editor/Icons/Components/Component_Placeholder.svg index 40273bc241..b7bb861223 100644 --- a/Assets/Editor/Icons/Components/Component_Placeholder.svg +++ b/Assets/Editor/Icons/Components/Component_Placeholder.svg @@ -1,12 +1,10 @@ - - icon / Other / Default - Created with Sketch. + icon / Other / Component_Placeholder - + diff --git a/Assets/Editor/Icons/Components/Compound_Shape.svg b/Assets/Editor/Icons/Components/Compound_Shape.svg index 976a52473a..320ca68868 100644 --- a/Assets/Editor/Icons/Components/Compound_Shape.svg +++ b/Assets/Editor/Icons/Components/Compound_Shape.svg @@ -1,12 +1,10 @@ - - icon / Shapes / Compound Shape - Created with Sketch. + icon / Shapes / CompoundShape - + diff --git a/Assets/Editor/Icons/Components/Cylinder_Shape.svg b/Assets/Editor/Icons/Components/Cylinder_Shape.svg index d29a8a70ae..b3d5ef7e37 100644 --- a/Assets/Editor/Icons/Components/Cylinder_Shape.svg +++ b/Assets/Editor/Icons/Components/Cylinder_Shape.svg @@ -1,12 +1,10 @@ - - icon / Shapes / Cylinder Shape - Created with Sketch. + icon / Shapes / Cylinder_Shape - + - + diff --git a/Assets/Editor/Icons/Components/DebugDrawLine.svg b/Assets/Editor/Icons/Components/DebugDrawLine.svg index 70a5747817..d64de1b706 100644 --- a/Assets/Editor/Icons/Components/DebugDrawLine.svg +++ b/Assets/Editor/Icons/Components/DebugDrawLine.svg @@ -1,9 +1,7 @@ - - icon / Other / DebugDraw line - Created with Sketch. - - + icon / Other / DebugDrawLine + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/DebugDrawObb.svg b/Assets/Editor/Icons/Components/DebugDrawObb.svg index 3d7a9ed03a..ca948e47d1 100644 --- a/Assets/Editor/Icons/Components/DebugDrawObb.svg +++ b/Assets/Editor/Icons/Components/DebugDrawObb.svg @@ -1,9 +1,7 @@ - - icon / Other / DebugDraw Obb - Created with Sketch. - - + icon / Other / DebugDrawObb + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/DebugDrawRay.svg b/Assets/Editor/Icons/Components/DebugDrawRay.svg index 0dbada9cfd..f11e32826c 100644 --- a/Assets/Editor/Icons/Components/DebugDrawRay.svg +++ b/Assets/Editor/Icons/Components/DebugDrawRay.svg @@ -1,9 +1,7 @@ - - icon / Other / DebugDraw Ray - Created with Sketch. - - + icon / Other / DebugDrawRay + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/DebugDrawSphere.svg b/Assets/Editor/Icons/Components/DebugDrawSphere.svg index 4d44ccca25..bcddf84010 100644 --- a/Assets/Editor/Icons/Components/DebugDrawSphere.svg +++ b/Assets/Editor/Icons/Components/DebugDrawSphere.svg @@ -1,12 +1,10 @@ - - icon / Other / DebugDraw Sphere - Created with Sketch. + icon / Other / DebugDrawSphere - + - + diff --git a/Assets/Editor/Icons/Components/DebugDrawText.svg b/Assets/Editor/Icons/Components/DebugDrawText.svg index 3da927e3cc..7fd1603e45 100644 --- a/Assets/Editor/Icons/Components/DebugDrawText.svg +++ b/Assets/Editor/Icons/Components/DebugDrawText.svg @@ -1,12 +1,10 @@ - - icon / Other / DebugDraw Text - Created with Sketch. + icon / Other / DebugDrawText - + - + diff --git a/Assets/Editor/Icons/Components/Decal.svg b/Assets/Editor/Icons/Components/Decal.svg index 0c21701a55..3bfb7228fe 100644 --- a/Assets/Editor/Icons/Components/Decal.svg +++ b/Assets/Editor/Icons/Components/Decal.svg @@ -1,8 +1,6 @@ - icon / Rendering / Decal - Created with Sketch. diff --git a/Assets/Editor/Icons/Components/Disk_Shape.svg b/Assets/Editor/Icons/Components/Disk_Shape.svg index fb9d199844..9c1e478b85 100644 --- a/Assets/Editor/Icons/Components/Disk_Shape.svg +++ b/Assets/Editor/Icons/Components/Disk_Shape.svg @@ -1,13 +1,13 @@ - icon / Shapes / Disk Shape + icon / Shapes / Disk_shape - + - + - + - + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/EnvironmentProbe.svg b/Assets/Editor/Icons/Components/EnvironmentProbe.svg index 26c599ab42..ac2e5c0fee 100644 --- a/Assets/Editor/Icons/Components/EnvironmentProbe.svg +++ b/Assets/Editor/Icons/Components/EnvironmentProbe.svg @@ -1,12 +1,10 @@ - - icon / Rendering / Environment Probe - Created with Sketch. + icon / Rendering / EnvironmentProbe - + - + diff --git a/Assets/Editor/Icons/Components/FogVolume.svg b/Assets/Editor/Icons/Components/FogVolume.svg index 73194491bf..b31ce5c997 100644 --- a/Assets/Editor/Icons/Components/FogVolume.svg +++ b/Assets/Editor/Icons/Components/FogVolume.svg @@ -1,12 +1,10 @@ - - icon / Environmental / Fog Volume - Created with Sketch. + icon / Environmental / FogVolume - + - + diff --git a/Assets/Editor/Icons/Components/ForceVolume.svg b/Assets/Editor/Icons/Components/ForceVolume.svg index 185e2dd012..b5a24544d7 100644 --- a/Assets/Editor/Icons/Components/ForceVolume.svg +++ b/Assets/Editor/Icons/Components/ForceVolume.svg @@ -1,12 +1,10 @@ - - icon / Physics / Cry / Force Volume - Created with Sketch. + icon / Physics / PhysX / ForceVolume - + - + diff --git a/Assets/Editor/Icons/Components/GeometryCache.svg b/Assets/Editor/Icons/Components/GeometryCache.svg index 0060c6f69f..f6006b601e 100644 --- a/Assets/Editor/Icons/Components/GeometryCache.svg +++ b/Assets/Editor/Icons/Components/GeometryCache.svg @@ -1,12 +1,10 @@ - - icon / Rendering / Geometry Cache - Created with Sketch. + icon / Rendering / GeometryCache - + - + diff --git a/Assets/Editor/Icons/Components/LensFlare.svg b/Assets/Editor/Icons/Components/LensFlare.svg index 210cc8e496..2a7bfb848d 100644 --- a/Assets/Editor/Icons/Components/LensFlare.svg +++ b/Assets/Editor/Icons/Components/LensFlare.svg @@ -1,12 +1,10 @@ - - icon / Rendering / Lens Flare - Created with Sketch. + icon / Rendering / LensFlare - + diff --git a/Assets/Editor/Icons/Components/Light.svg b/Assets/Editor/Icons/Components/Light.svg new file mode 100644 index 0000000000..52400d2396 --- /dev/null +++ b/Assets/Editor/Icons/Components/Light.svg @@ -0,0 +1,13 @@ + + + icon / Rendering / Light + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Lightning.svg b/Assets/Editor/Icons/Components/Lightning.svg index c40b1cebb3..00e2a314d6 100644 --- a/Assets/Editor/Icons/Components/Lightning.svg +++ b/Assets/Editor/Icons/Components/Lightning.svg @@ -1,10 +1,8 @@ - icon / Environmental / Lighting - Created with Sketch. - + diff --git a/Assets/Editor/Icons/Components/LightningArc.svg b/Assets/Editor/Icons/Components/LightningArc.svg index e51ebb5d86..8c4eb32aee 100644 --- a/Assets/Editor/Icons/Components/LightningArc.svg +++ b/Assets/Editor/Icons/Components/LightningArc.svg @@ -1,12 +1,10 @@ - - icon / Rendering / Lightning Arc - Created with Sketch. + icon / Rendering / LightningArc - + - + diff --git a/Assets/Editor/Icons/Components/LookAt.png b/Assets/Editor/Icons/Components/LookAt.png deleted file mode 100644 index c1429e7f9b..0000000000 --- a/Assets/Editor/Icons/Components/LookAt.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:20589e6a15762728cd89fd9aed32d1d6c37a741d13e13e5222fdd1a5a7f3f2b8 -size 808 diff --git a/Assets/Editor/Icons/Components/LookAt.svg b/Assets/Editor/Icons/Components/LookAt.svg new file mode 100644 index 0000000000..fa239fa70c --- /dev/null +++ b/Assets/Editor/Icons/Components/LookAt.svg @@ -0,0 +1,13 @@ + + + icon / Gameplay / LookAt + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Mannequin.svg b/Assets/Editor/Icons/Components/Mannequin.svg index 3b9d65dd04..2c3c0a5ff7 100644 --- a/Assets/Editor/Icons/Components/Mannequin.svg +++ b/Assets/Editor/Icons/Components/Mannequin.svg @@ -1,15 +1,13 @@ - icon / Animation / Mannequin - Created with Sketch. - + - + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/MannequinScopeContext.svg b/Assets/Editor/Icons/Components/MannequinScopeContext.svg deleted file mode 100644 index 2dacab999e..0000000000 --- a/Assets/Editor/Icons/Components/MannequinScopeContext.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - icon / Animation / Mannequin Scope Context - Created with Sketch. - - - - - - - - - - \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Mesh.svg b/Assets/Editor/Icons/Components/Mesh.svg new file mode 100644 index 0000000000..ce46b8b220 --- /dev/null +++ b/Assets/Editor/Icons/Components/Mesh.svg @@ -0,0 +1,13 @@ + + + icon / Rendering / StaticMesh + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/MeshCollider.svg b/Assets/Editor/Icons/Components/MeshCollider.svg new file mode 100644 index 0000000000..fa6709677c --- /dev/null +++ b/Assets/Editor/Icons/Components/MeshCollider.svg @@ -0,0 +1,13 @@ + + + icon / Physics / Cry / MeshCollider + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/MotionParameterSmoothing.svg b/Assets/Editor/Icons/Components/MotionParameterSmoothing.svg deleted file mode 100644 index d93d57d23a..0000000000 --- a/Assets/Editor/Icons/Components/MotionParameterSmoothing.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - icon / Animation / Motion Parameter Smoothing - Created with Sketch. - - - - - - - - - - \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Navigation.svg b/Assets/Editor/Icons/Components/Navigation.svg index 9b18153695..d47ab2b854 100644 --- a/Assets/Editor/Icons/Components/Navigation.svg +++ b/Assets/Editor/Icons/Components/Navigation.svg @@ -1,10 +1,8 @@ - icon / AI / Navigation - Created with Sketch. - + diff --git a/Assets/Editor/Icons/Components/NavigationArea.svg b/Assets/Editor/Icons/Components/NavigationArea.svg index b8751f7079..adf8b35315 100644 --- a/Assets/Editor/Icons/Components/NavigationArea.svg +++ b/Assets/Editor/Icons/Components/NavigationArea.svg @@ -1,12 +1,10 @@ - - icon / AI / Navigation Area - Created with Sketch. + icon / AI / NavigationArea - + - + diff --git a/Assets/Editor/Icons/Components/NavigationSeed.svg b/Assets/Editor/Icons/Components/NavigationSeed.svg index d19ea7a2b4..8d3be86ee0 100644 --- a/Assets/Editor/Icons/Components/NavigationSeed.svg +++ b/Assets/Editor/Icons/Components/NavigationSeed.svg @@ -1,12 +1,10 @@ - - icon / AI / Navigation Seed - Created with Sketch. + icon / AI / NavigationSeed - + - + diff --git a/Assets/Editor/Icons/Components/NetBinding.svg b/Assets/Editor/Icons/Components/NetBinding.svg index 3c02056618..bcc00406f2 100644 --- a/Assets/Editor/Icons/Components/NetBinding.svg +++ b/Assets/Editor/Icons/Components/NetBinding.svg @@ -1,12 +1,10 @@ - - icon / Networking / Network Binding - Created with Sketch. + icon / Networking / NetBinding - + diff --git a/Assets/Editor/Icons/Components/Particle.svg b/Assets/Editor/Icons/Components/Particle.svg index bfc3a328a9..fb20abb814 100644 --- a/Assets/Editor/Icons/Components/Particle.svg +++ b/Assets/Editor/Icons/Components/Particle.svg @@ -1,10 +1,8 @@ - icon / Rendering / Particle - Created with Sketch. - + diff --git a/Assets/Editor/Icons/Components/PhysXCollider.svg b/Assets/Editor/Icons/Components/PhysXCollider.svg index a35cc400a2..e7503fdf59 100644 --- a/Assets/Editor/Icons/Components/PhysXCollider.svg +++ b/Assets/Editor/Icons/Components/PhysXCollider.svg @@ -1,12 +1,10 @@ - - icon / Physics / PhysX / Collider - Created with Sketch. + icon / Physics / PhysX / PrimitiveCollider - + - + diff --git a/Assets/Editor/Icons/Components/PhysXRagdoll.svg b/Assets/Editor/Icons/Components/PhysXRagdoll.svg index 82fabed936..b7eb823ced 100644 --- a/Assets/Editor/Icons/Components/PhysXRagdoll.svg +++ b/Assets/Editor/Icons/Components/PhysXRagdoll.svg @@ -1,8 +1,6 @@ - icon / Physics / PhysX / ragdoll - Created with Sketch. diff --git a/Assets/Editor/Icons/Components/PhysicsConstraint.svg b/Assets/Editor/Icons/Components/PhysicsConstraint.svg index 8b5394b2ac..b6c769bda0 100644 --- a/Assets/Editor/Icons/Components/PhysicsConstraint.svg +++ b/Assets/Editor/Icons/Components/PhysicsConstraint.svg @@ -1,12 +1,10 @@ - - icon / Physics / Cry / Constraint - Created with Sketch. + icon / Physics / PhysX / PhysicsConstraint - + - + diff --git a/Assets/Editor/Icons/Components/PointLight.svg b/Assets/Editor/Icons/Components/PointLight.svg index dc2321f89e..534c31f2b7 100644 --- a/Assets/Editor/Icons/Components/PointLight.svg +++ b/Assets/Editor/Icons/Components/PointLight.svg @@ -1,12 +1,10 @@ - - icon / Rendering / Point Light - Created with Sketch. + icon / Rendering / PointLight - + - + diff --git a/Assets/Editor/Icons/Components/PolygonPrism.svg b/Assets/Editor/Icons/Components/PolygonPrism.svg index 54702e5678..295fa022c5 100644 --- a/Assets/Editor/Icons/Components/PolygonPrism.svg +++ b/Assets/Editor/Icons/Components/PolygonPrism.svg @@ -1,12 +1,10 @@ - - icon / Shapes / Polygon Prism Shape - Created with Sketch. + icon / Shapes / PolygonPrism - + diff --git a/Assets/Editor/Icons/Components/PolygonPrism_Shape.svg b/Assets/Editor/Icons/Components/PolygonPrism_Shape.svg new file mode 100644 index 0000000000..419e00f121 --- /dev/null +++ b/Assets/Editor/Icons/Components/PolygonPrism_Shape.svg @@ -0,0 +1,13 @@ + + + icon / Shapes / PolygonPrismShape + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/ProjectorLight.svg b/Assets/Editor/Icons/Components/ProjectorLight.svg index 8510ddd97c..cd9eb3d811 100644 --- a/Assets/Editor/Icons/Components/ProjectorLight.svg +++ b/Assets/Editor/Icons/Components/ProjectorLight.svg @@ -1,12 +1,10 @@ - - icon / Rendering / Projector Light - Created with Sketch. + icon / Rendering / ProjectorLight - + diff --git a/Assets/Editor/Icons/Components/RandomTimedSpawner.svg b/Assets/Editor/Icons/Components/RandomTimedSpawner.svg index dbe29ba02e..d707b8bc17 100644 --- a/Assets/Editor/Icons/Components/RandomTimedSpawner.svg +++ b/Assets/Editor/Icons/Components/RandomTimedSpawner.svg @@ -1,12 +1,10 @@ - - icon / Gameplay / Random timed spawner - Created with Sketch. + icon / Gameplay / RandomTimedSpawner - + - + diff --git a/Assets/Editor/Icons/Components/RigidPhysics.svg b/Assets/Editor/Icons/Components/RigidPhysics.svg index 879e8658c3..5d0abc85df 100644 --- a/Assets/Editor/Icons/Components/RigidPhysics.svg +++ b/Assets/Editor/Icons/Components/RigidPhysics.svg @@ -1,12 +1,10 @@ - - icon / Physics / Cry / Rigid Body Physics - Created with Sketch. + icon / Physics / PhysX / RigidPhysics - + diff --git a/Assets/Editor/Icons/Components/SimpleLODDistance.svg b/Assets/Editor/Icons/Components/SimpleLODDistance.svg index 52d760ac02..951e58250e 100644 --- a/Assets/Editor/Icons/Components/SimpleLODDistance.svg +++ b/Assets/Editor/Icons/Components/SimpleLODDistance.svg @@ -1,12 +1,10 @@ - - icon / Animation / Simple LOD Distance - Created with Sketch. + icon / Animation / SimpleLODDistance - + diff --git a/Assets/Editor/Icons/Components/SimpleState.svg b/Assets/Editor/Icons/Components/SimpleState.svg index 1d43710fb1..ddd88500ed 100644 --- a/Assets/Editor/Icons/Components/SimpleState.svg +++ b/Assets/Editor/Icons/Components/SimpleState.svg @@ -1,12 +1,10 @@ - - icon / Gameplay / Simple State - Created with Sketch. + icon / Gameplay / SimpleState - + diff --git a/Assets/Editor/Icons/Components/Spawner.svg b/Assets/Editor/Icons/Components/Spawner.svg index 946aa67ac5..da84e73a85 100644 --- a/Assets/Editor/Icons/Components/Spawner.svg +++ b/Assets/Editor/Icons/Components/Spawner.svg @@ -1,15 +1,13 @@ - icon / Gameplay / Spawner - Created with Sketch. - + - + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Sphere_Shape.svg b/Assets/Editor/Icons/Components/Sphere_Shape.svg index 8cf4b0d6db..53a491bb79 100644 --- a/Assets/Editor/Icons/Components/Sphere_Shape.svg +++ b/Assets/Editor/Icons/Components/Sphere_Shape.svg @@ -1,12 +1,10 @@ - - icon / Shapes / Sphere Shape - Created with Sketch. + icon / Shapes / SphereShape - + - + diff --git a/Assets/Editor/Icons/Components/StaticMesh.svg b/Assets/Editor/Icons/Components/StaticMesh.svg deleted file mode 100644 index dd3cf27091..0000000000 --- a/Assets/Editor/Icons/Components/StaticMesh.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - icon / Rendering / Mesh - Created with Sketch. - - - - - - - - - - \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/StaticPhysics.svg b/Assets/Editor/Icons/Components/StaticPhysics.svg index b2bba9e426..69f4135ed0 100644 --- a/Assets/Editor/Icons/Components/StaticPhysics.svg +++ b/Assets/Editor/Icons/Components/StaticPhysics.svg @@ -1,12 +1,10 @@ - - icon / Physics / Cry / Static Physics - Created with Sketch. + icon / Physics / PhysX / Physics - + diff --git a/Assets/Editor/Icons/Components/Tag.svg b/Assets/Editor/Icons/Components/Tag.svg index 72b5d79a25..b7c1f9f5de 100644 --- a/Assets/Editor/Icons/Components/Tag.svg +++ b/Assets/Editor/Icons/Components/Tag.svg @@ -1,12 +1,10 @@ - - icon / Gameplay / Tags - Created with Sketch. + icon / Gameplay / Tag - + - + diff --git a/Assets/Editor/Icons/Components/Transform.svg b/Assets/Editor/Icons/Components/Transform.svg index 059dabd6c9..0c5d0c9e64 100644 --- a/Assets/Editor/Icons/Components/Transform.svg +++ b/Assets/Editor/Icons/Components/Transform.svg @@ -1,10 +1,8 @@ - icon / Gameplay / Transform - Created with Sketch. - + diff --git a/Assets/Editor/Icons/Components/UICanvasProxyRef.svg b/Assets/Editor/Icons/Components/UICanvasProxyRef.svg index 9add5dc723..abe920e5aa 100644 --- a/Assets/Editor/Icons/Components/UICanvasProxyRef.svg +++ b/Assets/Editor/Icons/Components/UICanvasProxyRef.svg @@ -1,15 +1,14 @@ - - icon / UI / UI Canvas Proxy Ref - Created with Sketch. + icon / UI / UI CanvasProxyRef - + - + + - + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/VRPreview.svg b/Assets/Editor/Icons/Components/VRPreview.svg index 3a0f842933..2818ab92de 100644 --- a/Assets/Editor/Icons/Components/VRPreview.svg +++ b/Assets/Editor/Icons/Components/VRPreview.svg @@ -1,12 +1,10 @@ - - icon / VR / VR Preview - Created with Sketch. + icon / VR / VRPreview - + - + diff --git a/Assets/Editor/Icons/Components/Viewport/AnimGraphNetSync.svg b/Assets/Editor/Icons/Components/Viewport/AnimGraphNetSync.svg new file mode 100644 index 0000000000..357b246ddf --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/AnimGraphNetSync.svg @@ -0,0 +1,25 @@ + + + icon / Networking / AnimGraphNetSync - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Animation.png b/Assets/Editor/Icons/Components/Viewport/Animation.png deleted file mode 100644 index dc98478033..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Animation.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b25a1a9b6bd273c7d9338007f21ad6b37e2b4e9c8e0fd2956a71dbe6e6f0bc01 -size 4725 diff --git a/Assets/Editor/Icons/Components/Viewport/Animation.svg b/Assets/Editor/Icons/Components/Viewport/Animation.svg new file mode 100644 index 0000000000..a6c6845de4 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Animation.svg @@ -0,0 +1,25 @@ + + + icon / Animation / Animation - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/AreaLight.png b/Assets/Editor/Icons/Components/Viewport/AreaLight.png deleted file mode 100644 index 462e20873e..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/AreaLight.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3e6caa86ba02f53302813aa5220336483fbb8a48e33bee16402423fa92502254 -size 3831 diff --git a/Assets/Editor/Icons/Components/Viewport/AreaLight.svg b/Assets/Editor/Icons/Components/Viewport/AreaLight.svg new file mode 100644 index 0000000000..b7ef9043ba --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/AreaLight.svg @@ -0,0 +1,25 @@ + + + icon / Rendering / AreaLight - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Attachment.png b/Assets/Editor/Icons/Components/Viewport/Attachment.png deleted file mode 100644 index cec7b9aa0e..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Attachment.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2479f20de2e99874fa09e3a285b5faa8709de2572deef009b14e57c2729639b3 -size 3036 diff --git a/Assets/Editor/Icons/Components/Viewport/Attachment.svg b/Assets/Editor/Icons/Components/Viewport/Attachment.svg new file mode 100644 index 0000000000..73dfe5a5a1 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Attachment.svg @@ -0,0 +1,25 @@ + + + icon / Animation / Attachment Copy + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/AudioAnimationEventsProxy.svg b/Assets/Editor/Icons/Components/Viewport/AudioAnimationEventsProxy.svg new file mode 100644 index 0000000000..d0a1b39c65 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/AudioAnimationEventsProxy.svg @@ -0,0 +1,25 @@ + + + icon / Audio / AudioAnimationEventsProxy - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/AudioArea.png b/Assets/Editor/Icons/Components/Viewport/AudioArea.png deleted file mode 100644 index a025e4685c..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/AudioArea.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:74c5fe002468e61d9b6efa2e619eb6d60b8cf6bae740163f496fb85121a254a2 -size 3318 diff --git a/Assets/Editor/Icons/Components/Viewport/AudioArea.svg b/Assets/Editor/Icons/Components/Viewport/AudioArea.svg new file mode 100644 index 0000000000..c29c26b67d --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/AudioArea.svg @@ -0,0 +1,25 @@ + + + icon / Audio / AudioArea - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/AudioAreaEnvironment.png b/Assets/Editor/Icons/Components/Viewport/AudioAreaEnvironment.png deleted file mode 100644 index a025e4685c..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/AudioAreaEnvironment.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:74c5fe002468e61d9b6efa2e619eb6d60b8cf6bae740163f496fb85121a254a2 -size 3318 diff --git a/Assets/Editor/Icons/Components/Viewport/AudioAreaEnvironment.svg b/Assets/Editor/Icons/Components/Viewport/AudioAreaEnvironment.svg new file mode 100644 index 0000000000..60c07a5129 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/AudioAreaEnvironment.svg @@ -0,0 +1,25 @@ + + + icon / Audio / AudioAreaEnvironment - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/AudioListener.png b/Assets/Editor/Icons/Components/Viewport/AudioListener.png deleted file mode 100644 index 96ef318cb9..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/AudioListener.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:545c0c391e16106ebf975607c3a4cefb21289df6f53ec0234d11c8b79cb40e9c -size 5001 diff --git a/Assets/Editor/Icons/Components/Viewport/AudioListener.svg b/Assets/Editor/Icons/Components/Viewport/AudioListener.svg new file mode 100644 index 0000000000..2af8ac797b --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/AudioListener.svg @@ -0,0 +1,25 @@ + + + icon / Audio / AudioListener - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/AudioMultiPosition.png b/Assets/Editor/Icons/Components/Viewport/AudioMultiPosition.png deleted file mode 100644 index 5f98d78553..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/AudioMultiPosition.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ae836a60d1df878d493d3080230e68a478860d0fdd24623fb312a9c7899e5f07 -size 2947 diff --git a/Assets/Editor/Icons/Components/Viewport/AudioMultiPosition.svg b/Assets/Editor/Icons/Components/Viewport/AudioMultiPosition.svg new file mode 100644 index 0000000000..e581ba223f --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/AudioMultiPosition.svg @@ -0,0 +1,25 @@ + + + icon / Audio / AudioMultiPosition - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/AudioPreload.svg b/Assets/Editor/Icons/Components/Viewport/AudioPreload.svg new file mode 100644 index 0000000000..1762cbc50c --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/AudioPreload.svg @@ -0,0 +1,25 @@ + + + icon / Audio / AudioPreload - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/AudioProxy.svg b/Assets/Editor/Icons/Components/Viewport/AudioProxy.svg new file mode 100644 index 0000000000..a9024c1ece --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/AudioProxy.svg @@ -0,0 +1,25 @@ + + + icon / Audio / AudioProxy - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/AudioRtpc.png b/Assets/Editor/Icons/Components/Viewport/AudioRtpc.png deleted file mode 100644 index da819bbb6c..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/AudioRtpc.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6d84ff0349bfc7d046cf38cf370180a77c0888c3f27d78a2c6d21d4ccc765cbd -size 4286 diff --git a/Assets/Editor/Icons/Components/Viewport/AudioRtpc.svg b/Assets/Editor/Icons/Components/Viewport/AudioRtpc.svg new file mode 100644 index 0000000000..42bd56db2f --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/AudioRtpc.svg @@ -0,0 +1,25 @@ + + + icon / Audio / AudioRtpc - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/AudioSwitch.png b/Assets/Editor/Icons/Components/Viewport/AudioSwitch.png deleted file mode 100644 index 4525730401..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/AudioSwitch.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3c4488476a9f7b8196b9561d3be5f0bfa737648600ffe3792f644aaeb577cec9 -size 3976 diff --git a/Assets/Editor/Icons/Components/Viewport/AudioSwitch.svg b/Assets/Editor/Icons/Components/Viewport/AudioSwitch.svg new file mode 100644 index 0000000000..950f6a3daf --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/AudioSwitch.svg @@ -0,0 +1,25 @@ + + + icon / Audio / AudioSwitch - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/AudioTrigger.png b/Assets/Editor/Icons/Components/Viewport/AudioTrigger.png deleted file mode 100644 index 47e2d35331..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/AudioTrigger.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a036c3763b96079dde8505ad6995f8b717a777c78d7a434ac8de6f1ccb5d8dd1 -size 4327 diff --git a/Assets/Editor/Icons/Components/Viewport/AudioTrigger.svg b/Assets/Editor/Icons/Components/Viewport/AudioTrigger.svg new file mode 100644 index 0000000000..4953daf13e --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/AudioTrigger.svg @@ -0,0 +1,25 @@ + + + icon / Audio / AudioTrigger - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/BehaviorTree.svg b/Assets/Editor/Icons/Components/Viewport/BehaviorTree.svg new file mode 100644 index 0000000000..32f9a378fc --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/BehaviorTree.svg @@ -0,0 +1,25 @@ + + + icon / AI / BehaviorTree - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Box.png b/Assets/Editor/Icons/Components/Viewport/Box.png deleted file mode 100644 index e6ddaf3d72..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Box.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eb3e830c75a17445f5d62b75b820f8556ee59833177cca4677c1a8c47ea2ff46 -size 5215 diff --git a/Assets/Editor/Icons/Components/Viewport/Box.svg b/Assets/Editor/Icons/Components/Viewport/Box.svg new file mode 100644 index 0000000000..49a7491d1d --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Box.svg @@ -0,0 +1,25 @@ + + + icon / Shapes / Box - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Box_Shape.png b/Assets/Editor/Icons/Components/Viewport/Box_Shape.png deleted file mode 100644 index 28cd7f3219..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Box_Shape.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cd618a2c952bae92ad9232e305c49d260f518e378c6857b0ba368a8fa5df6ac0 -size 5689 diff --git a/Assets/Editor/Icons/Components/Viewport/Box_Shape.svg b/Assets/Editor/Icons/Components/Viewport/Box_Shape.svg new file mode 100644 index 0000000000..d3d2c95cfb --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Box_Shape.svg @@ -0,0 +1,25 @@ + + + icon / Shapes / Box_Shape - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Capsule.png b/Assets/Editor/Icons/Components/Viewport/Capsule.png deleted file mode 100644 index 9c7b4f75c8..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Capsule.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6cc176d9e097e8cd015b61939658f96d1a60b72f99f1a021e854a1437e446894 -size 4973 diff --git a/Assets/Editor/Icons/Components/Viewport/Capsule.svg b/Assets/Editor/Icons/Components/Viewport/Capsule.svg new file mode 100644 index 0000000000..f5f948face --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Capsule.svg @@ -0,0 +1,25 @@ + + + icon / Shapes / Capsule - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Capsule_Shape.png b/Assets/Editor/Icons/Components/Viewport/Capsule_Shape.png deleted file mode 100644 index 8735d28fba..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Capsule_Shape.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d88204ebac79b0685219458353186f2bf24fef5fac6b4d163b948882076a6437 -size 5429 diff --git a/Assets/Editor/Icons/Components/Viewport/Capsule_Shape.svg b/Assets/Editor/Icons/Components/Viewport/Capsule_Shape.svg new file mode 100644 index 0000000000..2c0bf9ceae --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Capsule_Shape.svg @@ -0,0 +1,25 @@ + + + icon / Shapes / Capsule_Shape - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/CharacterPhysics.png b/Assets/Editor/Icons/Components/Viewport/CharacterPhysics.png deleted file mode 100644 index 5318b5e0d0..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/CharacterPhysics.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:833418055ee86cef9914a9d8f41f1d67939a764bf307b405030d04a3186058da -size 3686 diff --git a/Assets/Editor/Icons/Components/Viewport/CharacterPhysics.svg b/Assets/Editor/Icons/Components/Viewport/CharacterPhysics.svg new file mode 100644 index 0000000000..7b5b07b214 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/CharacterPhysics.svg @@ -0,0 +1,25 @@ + + + icon / Physics / Cry / CharacterPhysics - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Cloth.svg b/Assets/Editor/Icons/Components/Viewport/Cloth.svg new file mode 100644 index 0000000000..826d0f2615 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Cloth.svg @@ -0,0 +1,25 @@ + + + icon / Physics / PhysX / Cloth2 - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Comment.png b/Assets/Editor/Icons/Components/Viewport/Comment.png deleted file mode 100644 index 6a160ca0be..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Comment.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fb55a0d6ce3cf16994afbcedf47309e0d1cb055377b26749ea73aa76247496e6 -size 2725 diff --git a/Assets/Editor/Icons/Components/Viewport/Comment.svg b/Assets/Editor/Icons/Components/Viewport/Comment.svg new file mode 100644 index 0000000000..b4860b54fa --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Comment.svg @@ -0,0 +1,25 @@ + + + icon / Other / Comment - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/ComponentPlaceholder.png b/Assets/Editor/Icons/Components/Viewport/ComponentPlaceholder.png deleted file mode 100644 index ca80091024..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/ComponentPlaceholder.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:15f0306bf2c2710f892a791ba0813966677f85165a92ad718c52a3cb9573eb41 -size 3193 diff --git a/Assets/Editor/Icons/Components/Viewport/ComponentPlaceholder.svg b/Assets/Editor/Icons/Components/Viewport/ComponentPlaceholder.svg new file mode 100644 index 0000000000..abe5a78bf7 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/ComponentPlaceholder.svg @@ -0,0 +1,25 @@ + + + icon / Other / ComponentPlaceholder - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Component_Placeholder.svg b/Assets/Editor/Icons/Components/Viewport/Component_Placeholder.svg new file mode 100644 index 0000000000..50a36fba0a --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Component_Placeholder.svg @@ -0,0 +1,25 @@ + + + icon / Other / Component_Placeholder - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Compound_Shape.svg b/Assets/Editor/Icons/Components/Viewport/Compound_Shape.svg new file mode 100644 index 0000000000..fa24a36279 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Compound_Shape.svg @@ -0,0 +1,25 @@ + + + icon / Shapes / CompoundShape - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Cylinder_Shape.png b/Assets/Editor/Icons/Components/Viewport/Cylinder_Shape.png deleted file mode 100644 index c7497148b4..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Cylinder_Shape.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3ecaf0fcd87206e3039634889c36b89bafb35358579335087790a0f86ecedc2e -size 4872 diff --git a/Assets/Editor/Icons/Components/Viewport/Cylinder_Shape.svg b/Assets/Editor/Icons/Components/Viewport/Cylinder_Shape.svg new file mode 100644 index 0000000000..0b0fa5d906 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Cylinder_Shape.svg @@ -0,0 +1,25 @@ + + + icon / Shapes / Cylinder_Shape - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/DebugDrawLine.svg b/Assets/Editor/Icons/Components/Viewport/DebugDrawLine.svg new file mode 100644 index 0000000000..6b916fd2ee --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/DebugDrawLine.svg @@ -0,0 +1,25 @@ + + + icon / Other / DebugDrawLine - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/DebugDrawObb.svg b/Assets/Editor/Icons/Components/Viewport/DebugDrawObb.svg new file mode 100644 index 0000000000..eb77432f96 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/DebugDrawObb.svg @@ -0,0 +1,25 @@ + + + icon / Other / DebugDrawObb - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/DebugDrawRay.svg b/Assets/Editor/Icons/Components/Viewport/DebugDrawRay.svg new file mode 100644 index 0000000000..e1145b44b9 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/DebugDrawRay.svg @@ -0,0 +1,25 @@ + + + icon / Other / DebugDrawRay - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/DebugDrawSphere.svg b/Assets/Editor/Icons/Components/Viewport/DebugDrawSphere.svg new file mode 100644 index 0000000000..068cc60e54 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/DebugDrawSphere.svg @@ -0,0 +1,25 @@ + + + icon / Other / DebugDrawSphere - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/DebugDrawText.svg b/Assets/Editor/Icons/Components/Viewport/DebugDrawText.svg new file mode 100644 index 0000000000..a8a2e263e1 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/DebugDrawText.svg @@ -0,0 +1,25 @@ + + + icon / Other / DebugDrawText - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Decal.png b/Assets/Editor/Icons/Components/Viewport/Decal.png deleted file mode 100644 index 247a83cdec..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Decal.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0d16b09d87333dafd50c25f5869c2c5d3b438d1b7d3ef197df950f5448d89ba2 -size 5190 diff --git a/Assets/Editor/Icons/Components/Viewport/Decal.svg b/Assets/Editor/Icons/Components/Viewport/Decal.svg new file mode 100644 index 0000000000..9d41b49b7c --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Decal.svg @@ -0,0 +1,25 @@ + + + icon / Rendering / Decal - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Disk_Shape.png b/Assets/Editor/Icons/Components/Viewport/Disk_Shape.png deleted file mode 100644 index cc4599c563..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Disk_Shape.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:13406a7c5bc10ab0fe93f5afda3ae70583d5e4af14f59a62757cad779d5c1e0f -size 18214 diff --git a/Assets/Editor/Icons/Components/Viewport/Disk_shape.svg b/Assets/Editor/Icons/Components/Viewport/Disk_shape.svg new file mode 100644 index 0000000000..9f456575c4 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Disk_shape.svg @@ -0,0 +1,25 @@ + + + icon / Shapes / Disk_shape - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/EnvironmentProbe.png b/Assets/Editor/Icons/Components/Viewport/EnvironmentProbe.png deleted file mode 100644 index 0d3815f2b0..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/EnvironmentProbe.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a7f51c26ce7e7fd501d4ebfa149c44504448b8169f1f8cb9ea6a3cc1eb9b2c69 -size 4933 diff --git a/Assets/Editor/Icons/Components/Viewport/EnvironmentProbe.svg b/Assets/Editor/Icons/Components/Viewport/EnvironmentProbe.svg new file mode 100644 index 0000000000..c73d6d03e9 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/EnvironmentProbe.svg @@ -0,0 +1,26 @@ + + + icon / Rendering / EnvironmentProbe - box + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Flipbook.png b/Assets/Editor/Icons/Components/Viewport/Flipbook.png deleted file mode 100644 index e1bbcae110..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Flipbook.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:792b474feb0b9c09ba20fd0e89a59e1fd5d556223adf2293efa5533f942cc986 -size 5609 diff --git a/Assets/Editor/Icons/Components/Viewport/FogVolume.png b/Assets/Editor/Icons/Components/Viewport/FogVolume.png deleted file mode 100644 index ff1c361a58..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/FogVolume.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:037b701eefed3983aebe69676bdeb5e4408f7b3dcecb7ef488ad6cd5948bf0b5 -size 3472 diff --git a/Assets/Editor/Icons/Components/Viewport/FogVolume.svg b/Assets/Editor/Icons/Components/Viewport/FogVolume.svg new file mode 100644 index 0000000000..8bc4bde0cd --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/FogVolume.svg @@ -0,0 +1,25 @@ + + + icon / Environmental / FogVolume - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/ForceVolume.png b/Assets/Editor/Icons/Components/Viewport/ForceVolume.png deleted file mode 100644 index 3c38d88afc..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/ForceVolume.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7ccfb20f990b6d6390ee09d65bf460011adb64060f9e09f847cf030fb5104473 -size 5270 diff --git a/Assets/Editor/Icons/Components/Viewport/ForceVolume.svg b/Assets/Editor/Icons/Components/Viewport/ForceVolume.svg new file mode 100644 index 0000000000..2a76d1950c --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/ForceVolume.svg @@ -0,0 +1,25 @@ + + + icon / Physics / PhysX / ForceVolume - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/GeometryCache.png b/Assets/Editor/Icons/Components/Viewport/GeometryCache.png deleted file mode 100644 index 5cfc4155bb..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/GeometryCache.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e20cca4ca67233e7da923b328fb07e99a61b43f5742d2d71d52de3376b064e62 -size 2864 diff --git a/Assets/Editor/Icons/Components/Viewport/GeometryCache.svg b/Assets/Editor/Icons/Components/Viewport/GeometryCache.svg new file mode 100644 index 0000000000..694efe52b5 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/GeometryCache.svg @@ -0,0 +1,25 @@ + + + icon / Rendering / GeometryCache - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/LensFlare.png b/Assets/Editor/Icons/Components/Viewport/LensFlare.png deleted file mode 100644 index 9216540197..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/LensFlare.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c475df6cf2e17f08061af22e50d3c30ba2bf64703cb535cd9ddc1aea6897901c -size 5062 diff --git a/Assets/Editor/Icons/Components/Viewport/LensFlare.svg b/Assets/Editor/Icons/Components/Viewport/LensFlare.svg new file mode 100644 index 0000000000..9b88070f3a --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/LensFlare.svg @@ -0,0 +1,26 @@ + + + icon / Rendering / LensFlare - box + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Light.png b/Assets/Editor/Icons/Components/Viewport/Light.png deleted file mode 100644 index 2f198954db..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Light.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b5339a51993cc176609f95c66829d1069affcb51034077ef9a970362aa4036da -size 4651 diff --git a/Assets/Editor/Icons/Components/Viewport/Light.svg b/Assets/Editor/Icons/Components/Viewport/Light.svg new file mode 100644 index 0000000000..c80990f24a --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Light.svg @@ -0,0 +1,25 @@ + + + icon / Rendering / Light - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Lightning.png b/Assets/Editor/Icons/Components/Viewport/Lightning.png deleted file mode 100644 index 59eb65234f..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Lightning.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3c8ca059a17d6459033c6ab6ec394daafadf1b49e9163038d3af7ba61e8462cd -size 4102 diff --git a/Assets/Editor/Icons/Components/Viewport/Lightning.svg b/Assets/Editor/Icons/Components/Viewport/Lightning.svg new file mode 100644 index 0000000000..895c44fc60 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Lightning.svg @@ -0,0 +1,25 @@ + + + icon / Environmental / Lighting - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/LightningArc.png b/Assets/Editor/Icons/Components/Viewport/LightningArc.png deleted file mode 100644 index 72fd79ddb2..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/LightningArc.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:89f34ac1cb1e4b457117cfc46adc2b827e9e85b7cb76b52a4fbd4a9d9e19311a -size 4559 diff --git a/Assets/Editor/Icons/Components/Viewport/LightningArc.svg b/Assets/Editor/Icons/Components/Viewport/LightningArc.svg new file mode 100644 index 0000000000..e13231d759 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/LightningArc.svg @@ -0,0 +1,25 @@ + + + icon / Rendering / LightningArc - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/LookAt.png b/Assets/Editor/Icons/Components/Viewport/LookAt.png deleted file mode 100644 index 76505009cc..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/LookAt.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3572d39f9042596d2a73d6d32c54cefc662e1fc6eef0c1bb6e4955ab34d2152b -size 4569 diff --git a/Assets/Editor/Icons/Components/Viewport/LookAt.svg b/Assets/Editor/Icons/Components/Viewport/LookAt.svg new file mode 100644 index 0000000000..d7090e4782 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/LookAt.svg @@ -0,0 +1,25 @@ + + + icon / Gameplay / LookAt - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/LuaScript.svg b/Assets/Editor/Icons/Components/Viewport/LuaScript.svg new file mode 100644 index 0000000000..5bdf58047c --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/LuaScript.svg @@ -0,0 +1,29 @@ + + + icon / Scripting / Lua Script - box + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Mannequin.png b/Assets/Editor/Icons/Components/Viewport/Mannequin.png deleted file mode 100644 index 00d6a2a35d..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Mannequin.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7cb59ad46da631fc394858781f4c000c5b1a74ef2fade85fec28994cfd898cbe -size 5325 diff --git a/Assets/Editor/Icons/Components/Viewport/Mannequin.svg b/Assets/Editor/Icons/Components/Viewport/Mannequin.svg new file mode 100644 index 0000000000..c99daf489d --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Mannequin.svg @@ -0,0 +1,25 @@ + + + icon / Animation / Mannequin - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/MannequinScopeContext.png b/Assets/Editor/Icons/Components/Viewport/MannequinScopeContext.png deleted file mode 100644 index b7c5c65daa..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/MannequinScopeContext.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2ae7731eb2bcbf49c07b38affcc462958cb052b0c7ab99eff15b19be6250076e -size 4527 diff --git a/Assets/Editor/Icons/Components/Viewport/Mesh.svg b/Assets/Editor/Icons/Components/Viewport/Mesh.svg new file mode 100644 index 0000000000..cc2cf6af48 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Mesh.svg @@ -0,0 +1,25 @@ + + + icon / Rendering / StaticMesh - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/MeshCollider.png b/Assets/Editor/Icons/Components/Viewport/MeshCollider.png deleted file mode 100644 index c0c473c299..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/MeshCollider.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:35cda4408284f3925feda998465eaa0351467e8f0ed449b516cdf1dee0905be1 -size 4191 diff --git a/Assets/Editor/Icons/Components/Viewport/MeshCollider.svg b/Assets/Editor/Icons/Components/Viewport/MeshCollider.svg new file mode 100644 index 0000000000..3b2246b0d7 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/MeshCollider.svg @@ -0,0 +1,25 @@ + + + icon / Physics / Cry / MeshCollider - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/MotionParameterSmoothing.png b/Assets/Editor/Icons/Components/Viewport/MotionParameterSmoothing.png deleted file mode 100644 index dc98478033..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/MotionParameterSmoothing.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b25a1a9b6bd273c7d9338007f21ad6b37e2b4e9c8e0fd2956a71dbe6e6f0bc01 -size 4725 diff --git a/Assets/Editor/Icons/Components/Viewport/Navigation.png b/Assets/Editor/Icons/Components/Viewport/Navigation.png deleted file mode 100644 index 3c18f5087a..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Navigation.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bb999768f5f5d39335e1e03db21c4b22b07588d561623f809369fe1cfdb24239 -size 4733 diff --git a/Assets/Editor/Icons/Components/Viewport/Navigation.svg b/Assets/Editor/Icons/Components/Viewport/Navigation.svg new file mode 100644 index 0000000000..97535f622f --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Navigation.svg @@ -0,0 +1,25 @@ + + + icon / AI / Navigation - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/NavigationArea.png b/Assets/Editor/Icons/Components/Viewport/NavigationArea.png deleted file mode 100644 index 7076d6e1d9..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/NavigationArea.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bd604dbd1f5cc4f64d0eaa3cdfe5214bd08daefca612bb3416f8126fe0adfb34 -size 4981 diff --git a/Assets/Editor/Icons/Components/Viewport/NavigationArea.svg b/Assets/Editor/Icons/Components/Viewport/NavigationArea.svg new file mode 100644 index 0000000000..aaafaed249 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/NavigationArea.svg @@ -0,0 +1,25 @@ + + + icon / AI / NavigationArea - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/NavigationSeed.png b/Assets/Editor/Icons/Components/Viewport/NavigationSeed.png deleted file mode 100644 index d94f4c2baf..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/NavigationSeed.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:27a604d07e2de256d47b406427c776ad7082ef2ef53ca5af2aebdb4bf342abe8 -size 5037 diff --git a/Assets/Editor/Icons/Components/Viewport/NavigationSeed.svg b/Assets/Editor/Icons/Components/Viewport/NavigationSeed.svg new file mode 100644 index 0000000000..5f90e816be --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/NavigationSeed.svg @@ -0,0 +1,25 @@ + + + icon / AI / NavigationSeed - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/NetBinding.png b/Assets/Editor/Icons/Components/Viewport/NetBinding.png deleted file mode 100644 index a4e5db2505..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/NetBinding.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:05b50aaffa05e3b3c5d3903a80352a994ed46f13dfded91e6af9d351c60906ee -size 5160 diff --git a/Assets/Editor/Icons/Components/Viewport/NetBinding.svg b/Assets/Editor/Icons/Components/Viewport/NetBinding.svg new file mode 100644 index 0000000000..d0673ea7f2 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/NetBinding.svg @@ -0,0 +1,25 @@ + + + icon / Networking / NetBinding - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Non Uniform Scale.svg b/Assets/Editor/Icons/Components/Viewport/Non Uniform Scale.svg new file mode 100644 index 0000000000..56d8889a41 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Non Uniform Scale.svg @@ -0,0 +1,34 @@ + + + icon / Gameplay / Non Uniform Scale - box + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Particle.png b/Assets/Editor/Icons/Components/Viewport/Particle.png deleted file mode 100644 index c831c105bd..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Particle.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2f2f59021b439bdc158181a2fc736dc707492f6992a5c4049492432adaf7a243 -size 5142 diff --git a/Assets/Editor/Icons/Components/Viewport/Particle.svg b/Assets/Editor/Icons/Components/Viewport/Particle.svg new file mode 100644 index 0000000000..a2286bef37 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Particle.svg @@ -0,0 +1,25 @@ + + + icon / Rendering / Particle - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/PhysXCharacter.svg b/Assets/Editor/Icons/Components/Viewport/PhysXCharacter.svg new file mode 100644 index 0000000000..d97a560e4f --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/PhysXCharacter.svg @@ -0,0 +1,25 @@ + + + icon / Physics / PhysX / character Copy + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/PhysXCollider.svg b/Assets/Editor/Icons/Components/Viewport/PhysXCollider.svg new file mode 100644 index 0000000000..0d8904e1c3 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/PhysXCollider.svg @@ -0,0 +1,25 @@ + + + icon / Physics / PhysX / PrimitiveCollider - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/PhysXRagdoll.svg b/Assets/Editor/Icons/Components/Viewport/PhysXRagdoll.svg new file mode 100644 index 0000000000..e083bd2648 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/PhysXRagdoll.svg @@ -0,0 +1,25 @@ + + + icon / Physics / PhysX / ragdoll - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/PhysXRigidBody.svg b/Assets/Editor/Icons/Components/Viewport/PhysXRigidBody.svg new file mode 100644 index 0000000000..d84593860a --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/PhysXRigidBody.svg @@ -0,0 +1,25 @@ + + + icon / Physics / PhysX / RigidBody Copy + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Physics.png b/Assets/Editor/Icons/Components/Viewport/Physics.png deleted file mode 100644 index a526f70a8f..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Physics.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5a6fe6fbdf27dd66c7c53007ba373f3cc271c54842be5276c4193c4a39980936 -size 5149 diff --git a/Assets/Editor/Icons/Components/Viewport/PhysicsConstraint.png b/Assets/Editor/Icons/Components/Viewport/PhysicsConstraint.png deleted file mode 100644 index 9b18526b4d..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/PhysicsConstraint.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:36f3a663ef30a31a6ac8b2ff50152e1f3a1ea288f68f38fab3dc76d1d3c4df4c -size 4152 diff --git a/Assets/Editor/Icons/Components/Viewport/PhysicsConstraint.svg b/Assets/Editor/Icons/Components/Viewport/PhysicsConstraint.svg new file mode 100644 index 0000000000..7c4d1a159f --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/PhysicsConstraint.svg @@ -0,0 +1,25 @@ + + + icon / Physics / PhysX / PhysicsConstraint - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/PointLight.png b/Assets/Editor/Icons/Components/Viewport/PointLight.png deleted file mode 100644 index f58aa0dda9..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/PointLight.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e8a0fd849a150ef48cafc012532b95babe95b5f4b5170118bfb49e0d0d97eed4 -size 4994 diff --git a/Assets/Editor/Icons/Components/Viewport/PointLight.svg b/Assets/Editor/Icons/Components/Viewport/PointLight.svg new file mode 100644 index 0000000000..d9b0f970fb --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/PointLight.svg @@ -0,0 +1,25 @@ + + + icon / Rendering / PointLight - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/PolygonPrism.png b/Assets/Editor/Icons/Components/Viewport/PolygonPrism.png deleted file mode 100644 index d6748b86b5..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/PolygonPrism.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:96c1367c487de74750f4ba059108a9c48c587ef7a90a3b2eb6d1d8310301eebb -size 4714 diff --git a/Assets/Editor/Icons/Components/Viewport/PolygonPrism.svg b/Assets/Editor/Icons/Components/Viewport/PolygonPrism.svg new file mode 100644 index 0000000000..a1943f57f1 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/PolygonPrism.svg @@ -0,0 +1,25 @@ + + + icon / Shapes / PolygonPrism - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/PolygonPrism_Shape.svg b/Assets/Editor/Icons/Components/Viewport/PolygonPrism_Shape.svg new file mode 100644 index 0000000000..0d047e5b07 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/PolygonPrism_Shape.svg @@ -0,0 +1,25 @@ + + + icon / Shapes / PolygonPrismShape - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Primitive Collider.png b/Assets/Editor/Icons/Components/Viewport/Primitive Collider.png deleted file mode 100644 index decdf1f52d..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Primitive Collider.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b9b8d210bd3ed4666951e9436359812b7882bae1a329a7e8598d8078505170fc -size 4898 diff --git a/Assets/Editor/Icons/Components/Viewport/PrimitiveCollider.png b/Assets/Editor/Icons/Components/Viewport/PrimitiveCollider.png deleted file mode 100644 index decdf1f52d..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/PrimitiveCollider.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b9b8d210bd3ed4666951e9436359812b7882bae1a329a7e8598d8078505170fc -size 4898 diff --git a/Assets/Editor/Icons/Components/Viewport/ProjectorLight.png b/Assets/Editor/Icons/Components/Viewport/ProjectorLight.png deleted file mode 100644 index 7161aa6aad..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/ProjectorLight.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8800ab4f65fc969bda7a0c16a709fd583937c3648dc2a66f44ae7bd623b8e13f -size 3934 diff --git a/Assets/Editor/Icons/Components/Viewport/ProjectorLight.svg b/Assets/Editor/Icons/Components/Viewport/ProjectorLight.svg new file mode 100644 index 0000000000..48c9b9f13b --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/ProjectorLight.svg @@ -0,0 +1,25 @@ + + + icon / Rendering / ProjectorLight - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Ragdoll.png b/Assets/Editor/Icons/Components/Viewport/Ragdoll.png deleted file mode 100644 index 2b916c6e6f..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Ragdoll.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7f0b172462c35e537c6101ee8fe65c1d4fe5c1ecbe90c23829ca0177b69e9687 -size 4874 diff --git a/Assets/Editor/Icons/Components/Viewport/RandomTimedSpawner.png b/Assets/Editor/Icons/Components/Viewport/RandomTimedSpawner.png deleted file mode 100644 index e4c010ffe7..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/RandomTimedSpawner.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8d712da308ecbec4d899ce180dcefac90dc8537005d13c5d15bf2fc89252cfe2 -size 4239 diff --git a/Assets/Editor/Icons/Components/Viewport/RandomTimedSpawner.svg b/Assets/Editor/Icons/Components/Viewport/RandomTimedSpawner.svg new file mode 100644 index 0000000000..ac1d101de6 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/RandomTimedSpawner.svg @@ -0,0 +1,25 @@ + + + icon / Gameplay / RandomTimedSpawner - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/RigidPhysics.png b/Assets/Editor/Icons/Components/Viewport/RigidPhysics.png deleted file mode 100644 index e0c17c212f..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/RigidPhysics.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fb0921b5c381e42963e9d0f690e36de094678bc0ad03681233792fb11b780506 -size 3688 diff --git a/Assets/Editor/Icons/Components/Viewport/RigidPhysics.svg b/Assets/Editor/Icons/Components/Viewport/RigidPhysics.svg new file mode 100644 index 0000000000..d655a4a8f9 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/RigidPhysics.svg @@ -0,0 +1,25 @@ + + + icon / Physics / PhysX / RigidPhysics - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/SimpleLODDistance.svg b/Assets/Editor/Icons/Components/Viewport/SimpleLODDistance.svg new file mode 100644 index 0000000000..d7942b5234 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/SimpleLODDistance.svg @@ -0,0 +1,25 @@ + + + icon / Animation / SimpleLODDistance - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/SimpleState.png b/Assets/Editor/Icons/Components/Viewport/SimpleState.png deleted file mode 100644 index 555ab0e6c3..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/SimpleState.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:84f87c255bfa8f1aeb09ddb52748e256a95afdd1b6d28fe535d8a0bc82f71e63 -size 2745 diff --git a/Assets/Editor/Icons/Components/Viewport/SimpleState.svg b/Assets/Editor/Icons/Components/Viewport/SimpleState.svg new file mode 100644 index 0000000000..5c12474458 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/SimpleState.svg @@ -0,0 +1,25 @@ + + + icon / Gameplay / SimpleState - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Spawner.png b/Assets/Editor/Icons/Components/Viewport/Spawner.png deleted file mode 100644 index 7fbaa19651..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Spawner.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:be39ff9e4f288eb43233084c674383ff52235cc8ff7b8c743c588783e43a41b5 -size 3847 diff --git a/Assets/Editor/Icons/Components/Viewport/Spawner.svg b/Assets/Editor/Icons/Components/Viewport/Spawner.svg new file mode 100644 index 0000000000..8480dea56b --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Spawner.svg @@ -0,0 +1,25 @@ + + + icon / Gameplay / Spawner - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Sphere_Shape.png b/Assets/Editor/Icons/Components/Viewport/Sphere_Shape.png deleted file mode 100644 index 00ef4b636e..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Sphere_Shape.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c683db733fb34f5f176b4c655a10d6e5022bc37d555611f25f1e95e7555aaa6d -size 5292 diff --git a/Assets/Editor/Icons/Components/Viewport/Sphere_Shape.svg b/Assets/Editor/Icons/Components/Viewport/Sphere_Shape.svg new file mode 100644 index 0000000000..56f95386cd --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Sphere_Shape.svg @@ -0,0 +1,25 @@ + + + icon / Shapes / SphereShape - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Spline.png b/Assets/Editor/Icons/Components/Viewport/Spline.png deleted file mode 100644 index a86b7422ef..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Spline.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5b20297a98d1931357825f3367fd29a651100a2e8ed92b204f3cb73cdd4e03bb -size 4761 diff --git a/Assets/Editor/Icons/Components/Viewport/Spline.svg b/Assets/Editor/Icons/Components/Viewport/Spline.svg new file mode 100644 index 0000000000..b17aefb9f6 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Spline.svg @@ -0,0 +1,25 @@ + + + icon / Shapes / Spline - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/StaticMesh.png b/Assets/Editor/Icons/Components/Viewport/StaticMesh.png deleted file mode 100644 index f251d6a6e0..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/StaticMesh.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2b79a104ed3d299789b4388065d1686bd940fadd3a001a6967bde7a55d4563aa -size 5146 diff --git a/Assets/Editor/Icons/Components/Viewport/StaticMesh.svg b/Assets/Editor/Icons/Components/Viewport/StaticMesh.svg new file mode 100644 index 0000000000..b43f2e90a0 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/StaticMesh.svg @@ -0,0 +1,25 @@ + + + icon / Rendering / Mesh - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/StaticPhysics.svg b/Assets/Editor/Icons/Components/Viewport/StaticPhysics.svg new file mode 100644 index 0000000000..5a8692e058 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/StaticPhysics.svg @@ -0,0 +1,25 @@ + + + icon / Physics / PhysX / Physics - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Tag.png b/Assets/Editor/Icons/Components/Viewport/Tag.png deleted file mode 100644 index 09985cc1d0..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Tag.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:11cef56808775234c4d2f4b3790f9fd2d313fbc7a5d0a191030ae1f4902f2ca2 -size 4862 diff --git a/Assets/Editor/Icons/Components/Viewport/Tag.svg b/Assets/Editor/Icons/Components/Viewport/Tag.svg new file mode 100644 index 0000000000..0ae984230d --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Tag.svg @@ -0,0 +1,25 @@ + + + icon / Gameplay / Tag - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Transform.png b/Assets/Editor/Icons/Components/Viewport/Transform.png deleted file mode 100644 index 4c38cf5e33..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Transform.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e2a5744fdedea7cc2521e4bef36fedf83d594b277eb51832b70a05fa0fc690bf -size 4049 diff --git a/Assets/Editor/Icons/Components/Viewport/Transform.svg b/Assets/Editor/Icons/Components/Viewport/Transform.svg new file mode 100644 index 0000000000..5b3f4c5697 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Transform.svg @@ -0,0 +1,25 @@ + + + icon / Gameplay / Transform - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/Tube_Shape.png b/Assets/Editor/Icons/Components/Viewport/Tube_Shape.png deleted file mode 100644 index c80b937b5c..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/Tube_Shape.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:63d5efc11e3d844871415ab89491ebbf2e23ee6f821e55fadc186ff464354d2b -size 4118 diff --git a/Assets/Editor/Icons/Components/Viewport/Tube_Shape.svg b/Assets/Editor/Icons/Components/Viewport/Tube_Shape.svg new file mode 100644 index 0000000000..96b9a58ad1 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/Tube_Shape.svg @@ -0,0 +1,25 @@ + + + icon / Shapes / Tube_Shape - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/UICanvasProxyRef.svg b/Assets/Editor/Icons/Components/Viewport/UICanvasProxyRef.svg new file mode 100644 index 0000000000..d14aae02d5 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/UICanvasProxyRef.svg @@ -0,0 +1,26 @@ + + + icon / UI / UI CanvasProxyRef - box + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/UiCanvasAssetRef.svg b/Assets/Editor/Icons/Components/Viewport/UiCanvasAssetRef.svg new file mode 100644 index 0000000000..6afe906b47 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/UiCanvasAssetRef.svg @@ -0,0 +1,25 @@ + + + icon / UI / UiCanvasRef - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/UiCanvasOnMesh.png b/Assets/Editor/Icons/Components/Viewport/UiCanvasOnMesh.png deleted file mode 100644 index 15bd72d6ce..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/UiCanvasOnMesh.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9a0e50a6daf7f85fd4e03e5e4af28ca8386734725462800967820b33bef550cc -size 2742 diff --git a/Assets/Editor/Icons/Components/Viewport/UiCanvasOnMesh.svg b/Assets/Editor/Icons/Components/Viewport/UiCanvasOnMesh.svg new file mode 100644 index 0000000000..51585a5160 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/UiCanvasOnMesh.svg @@ -0,0 +1,25 @@ + + + icon / UI / UiCanvasOnMesh - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/Components/Viewport/UiCanvasRef.png b/Assets/Editor/Icons/Components/Viewport/UiCanvasRef.png deleted file mode 100644 index 5c0b5e7a22..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/UiCanvasRef.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:59cde361e99d8bd7f6df8e4e91cc9383a901dfdc2c5c4977dbf5871ce02f6ba4 -size 1935 diff --git a/Assets/Editor/Icons/Components/Viewport/VRPreview.png b/Assets/Editor/Icons/Components/Viewport/VRPreview.png deleted file mode 100644 index 5778d61914..0000000000 --- a/Assets/Editor/Icons/Components/Viewport/VRPreview.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:73a084f943c3737c9d7724b0477fa1d22296e0378d77379861b7333f563d8c2f -size 22138 diff --git a/Assets/Editor/Icons/Components/Viewport/VRPreview.svg b/Assets/Editor/Icons/Components/Viewport/VRPreview.svg new file mode 100644 index 0000000000..1a0b2f2f61 --- /dev/null +++ b/Assets/Editor/Icons/Components/Viewport/VRPreview.svg @@ -0,0 +1,25 @@ + + + icon / VR / VRPreview - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Icons/ScriptCanvas/Viewport/ScriptCanvas.svg b/Assets/Editor/Icons/ScriptCanvas/Viewport/ScriptCanvas.svg new file mode 100644 index 0000000000..c42bf4fc63 --- /dev/null +++ b/Assets/Editor/Icons/ScriptCanvas/Viewport/ScriptCanvas.svg @@ -0,0 +1,29 @@ + + + icon / Scripting / ScriptCanvas - box + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assets/Editor/Translation/scriptcanvas_en_us.ts b/Assets/Editor/Translation/scriptcanvas_en_us.ts index 5cafabaf60..f057ba2f30 100644 --- a/Assets/Editor/Translation/scriptcanvas_en_us.ts +++ b/Assets/Editor/Translation/scriptcanvas_en_us.ts @@ -42001,245 +42001,255 @@ An Entity can be selected by using the pick button, or by dragging an Entity fro WORLD_RAYCASTMULTIPLELOCALSPACE_OUTPUT0_NAME Hits - - WORLD_OVERLAPSPHERE_NAME + + WORLD_OVERLAPSPHEREWITHGROUP_NAME Overlap Sphere - - WORLD_OVERLAPSPHERE_PARAM0_NAME + + WORLD_OVERLAPSPHEREWITHGROUP_PARAM0_NAME Position - - WORLD_OVERLAPSPHERE_PARAM1_NAME + + WORLD_OVERLAPSPHEREWITHGROUP_PARAM1_NAME Radius - - WORLD_OVERLAPSPHERE_PARAM2_NAME + + WORLD_OVERLAPSPHEREWITHGROUP_PARAM2_NAME Collision Group - - WORLD_OVERLAPSPHERE_PARAM3_NAME + + WORLD_OVERLAPSPHEREWITHGROUP_PARAM3_NAME Ignore - - WORLD_OVERLAPSPHERE_OUTPUT0_NAME + + WORLD_OVERLAPSPHEREWITHGROUP_OUTPUT0_NAME Is Overlapping - - WORLD_OVERLAPSPHERE_OUTPUT1_NAME + + WORLD_OVERLAPSPHEREWITHGROUP_OUTPUT1_NAME Overlaps - - WORLD_OVERLAPBOX_NAME + + WORLD_OVERLAPBOXWITHGROUP_NAME Overlap Box - - WORLD_OVERLAPBOX_PARAM0_NAME + + WORLD_OVERLAPBOXWITHGROUP_PARAM0_NAME Pose - - WORLD_OVERLAPBOX_PARAM1_NAME + + WORLD_OVERLAPBOXWITHGROUP_PARAM1_NAME Dimensions - - WORLD_OVERLAPBOX_PARAM2_NAME + + WORLD_OVERLAPBOXWITHGROUP_PARAM2_NAME Collision Group - - WORLD_OVERLAPBOX_PARAM3_NAME + + WORLD_OVERLAPBOXWITHGROUP_PARAM3_NAME Ignore - - WORLD_OVERLAPBOX_OUTPUT0_NAME + + WORLD_OVERLAPBOXWITHGROUP_OUTPUT0_NAME Is Overlapping - - WORLD_OVERLAPBOX_OUTPUT1_NAME + + WORLD_OVERLAPBOXWITHGROUP_OUTPUT1_NAME Overlaps - - WORLD_OVERLAPCAPSULE_NAME + + WORLD_OVERLAPCAPSULEWITHGROUP_NAME Overlap Capsule - - WORLD_OVERLAPCAPSULE_PARAM0_NAME + + WORLD_OVERLAPCAPSULEWITHGROUP_PARAM0_NAME Pose - - WORLD_OVERLAPCAPSULE_PARAM1_NAME + + WORLD_OVERLAPCAPSULEWITHGROUP_PARAM1_NAME Height - - WORLD_OVERLAPCAPSULE_PARAM2_NAME + + WORLD_OVERLAPCAPSULEWITHGROUP_PARAM2_NAME Radius - - WORLD_OVERLAPCAPSULE_PARAM3_NAME + + WORLD_OVERLAPCAPSULEWITHGROUP_PARAM3_NAME Collision Group - - WORLD_OVERLAPCAPSULE_PARAM4_NAME + + WORLD_OVERLAPCAPSULEWITHGROUP_PARAM4_NAME Ignore - - WORLD_OVERLAPCAPSULE_OUTPUT0_NAME + + WORLD_OVERLAPCAPSULEWITHGROUP_OUTPUT0_NAME Is Overlapping - - WORLD_OVERLAPCAPSULE_OUTPUT1_NAME + + WORLD_OVERLAPCAPSULEWITHGROUP_OUTPUT1_NAME Overlaps - - - - WORLD_SPHERECAST_NAME + + + WORLD_SPHERECASTWITHGROUP_NAME Sphere Cast - - WORLD_SPHERECAST_PARAM0_NAME + + WORLD_SPHERECASTWITHGROUP_PARAM0_NAME Distance - - WORLD_SPHERECAST_PARAM1_NAME + + WORLD_SPHERECASTWITHGROUP_PARAM1_NAME Start Pose - - WORLD_SPHERECAST_PARAM2_NAME + + WORLD_SPHERECASTWITHGROUP_PARAM2_NAME Direction - - WORLD_SPHERECAST_PARAM3_NAME + + WORLD_SPHERECASTWITHGROUP_PARAM3_NAME Radius - - WORLD_SPHERECAST_PARAM4_NAME + + WORLD_SPHERECASTWITHGROUP_PARAM4_NAME Collision Group - - WORLD_SPHERECAST_PARAM5_NAME + + WORLD_SPHERECASTWITHGROUP_PARAM5_NAME Ignore - - WORLD_SPHERECAST_OUTPUT0_NAME + + WORLD_SPHERECASTWITHGROUP_OUTPUT0_NAME Object Hit - - WORLD_SPHERECAST_OUTPUT1_NAME + + WORLD_SPHERECASTWITHGROUP_OUTPUT1_NAME Position - - WORLD_SPHERECAST_OUTPUT2_NAME + + WORLD_SPHERECASTWITHGROUP_OUTPUT2_NAME Normal - - WORLD_SPHERECAST_OUTPUT3_NAME + + WORLD_SPHERECASTWITHGROUP_OUTPUT3_NAME Distance - - WORLD_SPHERECAST_OUTPUT4_NAME + + WORLD_SPHERECASTWITHGROUP_OUTPUT4_NAME EntityId - - - WORLD_BOXCAST_NAME + + WORLD_BOXCASTWITHGROUP_NAME Box Cast - - WORLD_BOXCAST_PARAM0_NAME + + WORLD_BOXCASTWITHGROUP_PARAM0_NAME Distance - - WORLD_BOXCAST_PARAM1_NAME + + WORLD_BOXCASTWITHGROUP_PARAM1_NAME Start Pose - - WORLD_BOXCAST_PARAM2_NAME + + WORLD_BOXCASTWITHGROUP_PARAM2_NAME Direction - - WORLD_BOXCAST_PARAM3_NAME + + WORLD_BOXCASTWITHGROUP_PARAM3_NAME Dimensions - - WORLD_BOXCAST_PARAM4_NAME + + WORLD_BOXCASTWITHGROUP_PARAM4_NAME Collision Group - - WORLD_BOXCAST_PARAM5_NAME + + WORLD_BOXCASTWITHGROUP_PARAM5_NAME Ignore - - WORLD_BOXCAST_OUTPUT0_NAME + + WORLD_BOXCASTWITHGROUP_OUTPUT0_NAME Object Hit - - WORLD_BOXCAST_OUTPUT1_NAME + + WORLD_BOXCASTWITHGROUP_OUTPUT1_NAME Position - - WORLD_BOXCAST_OUTPUT2_NAME + + WORLD_BOXCASTWITHGROUP_OUTPUT2_NAME Normal - - WORLD_BOXCAST_OUTPUT3_NAME + + WORLD_BOXCASTWITHGROUP_OUTPUT3_NAME Distance - - WORLD_BOXCAST_OUTPUT4_NAME + + WORLD_BOXCASTWITHGROUP_OUTPUT4_NAME EntityId - - - WORLD_CAPSULECAST_NAME + + WORLD_CAPSULECASTWITHGROUP_NAME Capsule Cast - - WORLD_CAPSULECAST_PARAM0_NAME + + WORLD_CAPSULECASTWITHGROUP_PARAM0_NAME Distance - - WORLD_CAPSULECAST_PARAM1_NAME + + WORLD_CAPSULECASTWITHGROUP_PARAM1_NAME Start Pose - - WORLD_CAPSULECAST_PARAM2_NAME + + WORLD_CAPSULECASTWITHGROUP_PARAM2_NAME Direction - - WORLD_CAPSULECAST_PARAM3_NAME + + WORLD_CAPSULECASTWITHGROUP_PARAM3_NAME Height - - WORLD_CAPSULECAST_PARAM4_NAME + + WORLD_CAPSULECASTWITHGROUP_PARAM4_NAME Radius - - WORLD_CAPSULECAST_PARAM5_NAME + + WORLD_CAPSULECASTWITHGROUP_PARAM5_NAME Collision Group - - WORLD_CAPSULECAST_PARAM6_NAME + + WORLD_CAPSULECASTWITHGROUP_PARAM6_NAME Ignore - - WORLD_CAPSULECAST_OUTPUT0_NAME + + WORLD_CAPSULECASTWITHGROUP_OUTPUT0_NAME Object Hit - - WORLD_CAPSULECAST_OUTPUT1_NAME + + WORLD_CAPSULECASTWITHGROUP_OUTPUT1_NAME + WORLD_CAPSULECASTWITHGROUP_OUTPUT1_NAME Position - - WORLD_BOXCAST_OUTPUT2_NAME + + WORLD_CAPSULECASTWITHGROUP_OUTPUT2_NAME Normal - - WORLD_CAPSULECAST_OUTPUT3_NAME + + WORLD_CAPSULECASTWITHGROUP_OUTPUT3_NAME Distance - - WORLD_CAPSULECAST_OUTPUT4_NAME + + WORLD_CAPSULECASTWITHGROUP_OUTPUT4_NAME EntityId + + WORLD_RAYCASTLOCALSPACEWITHGROUP_NAME + Raycast (Local Space) + + + WORLD_RAYCASTMULTIPLELOCALSPACEWITHGROUP_NAME + Raycast Multiple (Local Space) + + + WORLD_RAYCASTWORLDSPACEWITHGROUP_NAME + Raycast (World Space) + EBus: CollisionFilteringBus @@ -42368,7 +42378,7 @@ An Entity can be selected by using the pick button, or by dragging an Entity fro EBus: RigidBodyRequestBus RIGIDBODYREQUESTBUS_NAME - RigidBody + Rigid Body RIGIDBODYREQUESTBUS_TOOLTIP @@ -42413,6 +42423,23 @@ An Entity can be selected by using the pick button, or by dragging an Entity fro RIGIDBODYREQUESTBUS_ISPHYSICSENABLED_OUTPUT0_TOOLTIP Indicates whether physics is enabled + + RIGIDBODYREQUESTBUS_ISGRAVITYENABLED_NAME + Class/Bus: RigidBodyRequestBus Event/Method: IsGravityEnabled + Is Gravity Enabled + + + RIGIDBODYREQUESTBUS_ISGRAVITYENABLED_TOOLTIP + Returns true if the rigid body has gravity enabled + + + RIGIDBODYREQUESTBUS_ISGRAVITYENABLED_OUTPUT0_NAME + Enabled + + + RIGIDBODYREQUESTBUS_ISGRAVITYENABLED_OUTPUT0_TOOLTIP + Indicates whether gravity is enabled + RIGIDBODYREQUESTBUS_GETCENTEROFMASSWORLD_NAME Class/Bus: RigidBodyRequestBus Event/Method: GetCenterOfMassWorld @@ -42915,7 +42942,50 @@ An Entity can be selected by using the pick button, or by dragging an Entity fro RIGIDBODYREQUESTBUS_GETAABB_OUTPUT0_TOOLTIP The aabb of the rigid body - + + + Method: SceneQueries + + SCENEQUERIES_NAME + Scene Queries + + + SCENEQUERIES_CREATERAYCASTREQUEST_NAME + Create Raycast Request + + + SCENEQUERIES_CREATERAYCASTREQUEST_PARAM0_NAME + Start + + + SCENEQUERIES_CREATERAYCASTREQUEST_PARAM0_TOOLTIP + The position from which the raycast starts + + + SCENEQUERIES_CREATERAYCASTREQUEST_PARAM1_NAME + Direction + + + SCENEQUERIES_CREATERAYCASTREQUEST_PARAM1_TOOLTIP + The (normalized) direction in which to fire the raycast + + + SCENEQUERIES_CREATERAYCASTREQUEST_PARAM2_NAME + Distance + + + SCENEQUERIES_CREATERAYCASTREQUEST_PARAM2_TOOLTIP + The length of the raycast + + + SCENEQUERIES_CREATERAYCASTREQUEST_PARAM3_NAME + Collision Group + + + SCENEQUERIES_CREATERAYCASTREQUEST_PARAM3_TOOLTIP + Allows filtering of objects intersecting the raycast based on their collision layers + + Handler: TriggerNotificationBus @@ -43199,12 +43269,12 @@ An Entity can be selected by using the pick button, or by dragging an Entity fro PHYSXCHARACTERCONTROLLERREQUESTBUS_NAME Character Controller (PhysX Specific) - - CHARACTERCONTROLLERREQUESTBUS_TOOLTIP + + PHYSXCHARACTERCONTROLLERREQUESTBUS_TOOLTIP PhysX Character Controller Request Bus - - CHARACTERCONTROLLERREQUESTBUS_CATEGORY + + PHYSXCHARACTERCONTROLLERREQUESTBUS_CATEGORY PhysX @@ -44616,6 +44686,96 @@ An Entity can be selected by using the pick button, or by dragging an Entity fro + + EBus: SimulatedBodyComponentRequestBus + + SIMULATEDBODYCOMPONENTREQUESTBUS_NAME + Simulated Body + + + SIMULATEDBODYCOMPONENTREQUESTBUS_TOOLTIP + Simulated Body Component Request Bus + + + SIMULATEDBODYCOMPONENTREQUESTBUS_CATEGORY + PhysX + + + SIMULATEDBODYCOMPONENTREQUESTBUS_DISABLEPHYSICS_NAME + Disable Physics + + + SIMULATEDBODYCOMPONENTREQUESTBUS_ENABLEPHYSICS_NAME + Enable Physics + + + SIMULATEDBODYCOMPONENTREQUESTBUS_GETAABB_NAME + Get AABB + + + SIMULATEDBODYCOMPONENTREQUESTBUS_ISPHYSICSENABLED_NAME + Is Physics Enabled + + + SIMULATEDBODYCOMPONENTREQUESTBUS_RAYCAST_NAME + Raycast (Single Body) + + + SIMULATEDBODYCOMPONENTREQUESTBUS_RAYCAST_TOOLTIP + Perform a raycast against a single simulated body (not the whole scene) + + + SIMULATEDBODYCOMPONENTREQUESTBUS_RAYCAST_PARAM0_NAME + Raycast Request + + + + EBus: WindRequestsBus + + WINDREQUESTSBUS_NAME + Wind + + + WINDREQUESTSBUS_TOOLTIP + Wind Request Bus + + + WINDREQUESTSBUS_CATEGORY + PhysX + + + WINDREQUESTSBUS_GETGLOBALWIND_NAME + Get Global Wind + + + WINDREQUESTSBUS_GETGLOBALWIND_OUTPUT0_NAME + Wind Vector + + + WINDREQUESTSBUS_GETWINDATPOSITION_NAME + Get Wind At Position + + + WINDREQUESTSBUS_GETWINDATPOSITION_PARAM0_NAME + Position + + + WINDREQUESTSBUS_GETWINDATPOSITION_OUTPUT0_NAME + Wind Vector + + + WINDREQUESTSBUS_GETWINDINSIDEAABB_NAME + Get Wind Inside AABB + + + WINDREQUESTSBUS_GETWINDINSIDEAABB_PARAM0_NAME + AABB + + + WINDREQUESTSBUS_GETWINDINSIDEAABB_OUTPUT0_NAME + Wind Vector + + EBus: ChatPlayRequestBus @@ -62374,6 +62534,37 @@ An Entity can be selected by using the pick button, or by dragging an Entity fro + + EBus: NonUniformScaleRequestBus + + NONUNIFORMSCALEREQUESTBUS_NAME + Non-uniform Scale + + + NONUNIFORMSCALEREQUESTBUS_TOOLTIP + Non-uniform Scale Request Bus + + + NONUNIFORMSCALEREQUESTBUS_CATEGORY + Entity + + + NONUNIFORMSCALEREQUESTBUS_GETSCALE_NAME + Get Scale + + + NONUNIFORMSCALEREQUESTBUS_GETSCALE_OUTPUT0_NAME + Non-uniform Scale + + + NONUNIFORMSCALEREQUESTBUS_SETSCALE_NAME + Set Scale + + + NONUNIFORMSCALEREQUESTBUS_SETSCALE_PARAM0_NAME + Non-uniform Scale + + EBus: TransformBus diff --git a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/EditorScripts/PositionModifier_AutoSnapToSurfaceWorks.py b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/EditorScripts/PositionModifier_AutoSnapToSurfaceWorks.py index fe33da550a..a55e88488c 100755 --- a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/EditorScripts/PositionModifier_AutoSnapToSurfaceWorks.py +++ b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/EditorScripts/PositionModifier_AutoSnapToSurfaceWorks.py @@ -82,22 +82,7 @@ class TestPositionModifierAutoSnapToSurface(EditorTestHelper): # 3) Create a spherical planting surface and a flat surface flat_entity = dynveg.create_surface_entity("Flat Surface", spawner_center_point, 32.0, 32.0, 1.0) - hill_entity = dynveg.create_mesh_surface_entity_with_slopes("Planting Surface", spawner_center_point, 5.0, 5.0, 5.0) - - # Disable/Re-enable Mesh component due to ATOM-14299 - general.idle_wait(1.0) - editor.EditorComponentAPIBus(bus.Broadcast, 'DisableComponents', [hill_entity.components[0]]) - is_enabled = editor.EditorComponentAPIBus(bus.Broadcast, 'IsComponentEnabled', hill_entity.components[0]) - if is_enabled: - print("Mesh component is still enabled") - else: - print("Mesh component was disabled") - editor.EditorComponentAPIBus(bus.Broadcast, 'EnableComponents', [hill_entity.components[0]]) - is_enabled = editor.EditorComponentAPIBus(bus.Broadcast, 'IsComponentEnabled', hill_entity.components[0]) - if is_enabled: - print("Mesh component is now enabled") - else: - print("Mesh component is still disabled") + hill_entity = dynveg.create_mesh_surface_entity_with_slopes("Planting Surface", spawner_center_point, 5.0) # Disable the Flat Surface Box Shape component, and temporarily ignore initial instance counts due to LYN-2245 editor.EditorComponentAPIBus(bus.Broadcast, 'DisableComponents', [flat_entity.components[0]]) @@ -117,14 +102,14 @@ class TestPositionModifierAutoSnapToSurface(EditorTestHelper): # Pin the Constant Gradient to the X axis of the spawner's Position Modifier component spawner_entity.get_set_test(3, 'Configuration|Position X|Gradient|Gradient Entity Id', gradient_entity.id) - # 6) Set the Position Modifier offset to 5 on the x-axis - spawner_entity.get_set_test(3, position_modifier_paths[0], 5) - spawner_entity.get_set_test(3, position_modifier_paths[1], 5) + # 6) Set the Position Modifier offset to 2.5 on the x-axis + spawner_entity.get_set_test(3, position_modifier_paths[0], 2.5) + spawner_entity.get_set_test(3, position_modifier_paths[1], 2.5) # 7) Validate instance count at the top of the sphere mesh and inside the sphere mesh while Auto Snap to Surface # is enabled top_point = math.Vector3(512.0, 512.0, 37.0) - inside_point = math.Vector3(512.0, 512.0, 33.0) + inside_point = math.Vector3(512.0, 512.0, 35.0) radius = 0.5 num_expected = 1 self.log(f"Checking for instances in a {radius * 2}m area at {top_point.ToString()}") diff --git a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/EditorScripts/SlopeAlignmentModifierOverrides_InstanceSurfaceAlignment.py b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/EditorScripts/SlopeAlignmentModifierOverrides_InstanceSurfaceAlignment.py index 0fc917b7a2..abd3dc35d5 100755 --- a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/EditorScripts/SlopeAlignmentModifierOverrides_InstanceSurfaceAlignment.py +++ b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/EditorScripts/SlopeAlignmentModifierOverrides_InstanceSurfaceAlignment.py @@ -53,17 +53,19 @@ class TestSlopeAlignmentModifierOverrides(EditorTestHelper): use_terrain=False, ) + general.set_current_view_position(512.0, 480.0, 38.0) + # 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) # Create a sloped mesh surface for the instances to plant on + center_point = math.Vector3(502.0, 512.0, 24.0) mesh_asset_path = os.path.join("objects", "_primitives", "_box_1x1.azmodel") mesh_asset = asset.AssetCatalogRequestBus(bus.Broadcast, "GetAssetIdByPath", mesh_asset_path, math.Uuid(), False) rotation = math.Vector3(0.0, radians(45.0), 0.0) - scale = math.Vector3(10.0, 10.0, 10.0) surface_entity = hydra.Entity("Surface Entity") surface_entity.create_entity( center_point, @@ -73,7 +75,7 @@ class TestSlopeAlignmentModifierOverrides(EditorTestHelper): print(f"'{surface_entity.name}' created") hydra.get_set_test(surface_entity, 0, "Controller|Configuration|Mesh Asset", mesh_asset) components.TransformBus(bus.Event, "SetLocalRotation", surface_entity.id, rotation) - components.TransformBus(bus.Event, "SetLocalScale", surface_entity.id, scale) + components.TransformBus(bus.Event, "SetLocalUniformScale", surface_entity.id, 30.0) # Add a Vegetation Debugger component to allow refreshing instances hydra.add_level_component("Vegetation Debugger") diff --git a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/EditorScripts/SlopeAlignmentModifier_InstanceSurfaceAlignment.py b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/EditorScripts/SlopeAlignmentModifier_InstanceSurfaceAlignment.py index 49db829447..6e9e36957f 100755 --- a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/EditorScripts/SlopeAlignmentModifier_InstanceSurfaceAlignment.py +++ b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/EditorScripts/SlopeAlignmentModifier_InstanceSurfaceAlignment.py @@ -62,11 +62,11 @@ class TestSlopeAlignmentModifier(EditorTestHelper): spawner_entity = dynveg.create_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) mesh_asset_path = os.path.join("objects", "_primitives", "_box_1x1.azmodel") mesh_asset = asset.AssetCatalogRequestBus(bus.Broadcast, "GetAssetIdByPath", mesh_asset_path, math.Uuid(), False) rotation = math.Vector3(0.0, radians(45.0), 0.0) - scale = math.Vector3(10.0, 10.0, 10.0) surface_entity = hydra.Entity("Surface Entity") surface_entity.create_entity( center_point, @@ -76,7 +76,7 @@ class TestSlopeAlignmentModifier(EditorTestHelper): print(f"'{surface_entity.name}' created") hydra.get_set_test(surface_entity, 0, "Controller|Configuration|Mesh Asset", mesh_asset) components.TransformBus(bus.Event, "SetLocalRotation", surface_entity.id, rotation) - components.TransformBus(bus.Event, "SetLocalScale", surface_entity.id, scale) + components.TransformBus(bus.Event, "SetLocalUniformScale", surface_entity.id, 30.0) # Add a Vegetation Debugger component to allow refreshing instances hydra.add_level_component("Vegetation Debugger") diff --git a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/EditorScripts/SlopeFilter_ComponentAndOverrides_InstancesPlantOnValidSlope.py b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/EditorScripts/SlopeFilter_ComponentAndOverrides_InstancesPlantOnValidSlope.py index 895b979f95..d66716cee3 100755 --- a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/EditorScripts/SlopeFilter_ComponentAndOverrides_InstancesPlantOnValidSlope.py +++ b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/EditorScripts/SlopeFilter_ComponentAndOverrides_InstancesPlantOnValidSlope.py @@ -81,7 +81,7 @@ class TestSlopeFilterComponentAndOverrides(EditorTestHelper): # 3) Add surfaces to plant on. This will include a flat surface and a sphere mesh to provide a sloped surface dynveg.create_surface_entity("Planting Surface", center_point, 32.0, 32.0, 1.0) sloped_surface_center = math.Vector3(512.0, 512.0, 38.0) - dynveg.create_mesh_surface_entity_with_slopes("Sloped Planting Surface", sloped_surface_center, 5.0, 5.0, 5.0) + dynveg.create_mesh_surface_entity_with_slopes("Sloped Planting Surface", sloped_surface_center, 10.0) # Set instances to spawn on a center snap point to avoid unexpected instances around the edges of the box shape veg_system_settings_component = hydra.add_level_component("Vegetation System Settings") @@ -101,7 +101,7 @@ class TestSlopeFilterComponentAndOverrides(EditorTestHelper): spawner_entity.get_set_test(3, "Configuration|Slope Max", 45) # 6) Validate instance counts post-filter: instances should only plant on slopes between 20-45 degrees - num_expected_slopes_post_filter = 44 + num_expected_slopes_post_filter = 48 slope_min_max_success = self.wait_for_condition(lambda: dynveg.validate_instance_count_in_entity_shape( spawner_entity.id, num_expected_slopes_post_filter), 5.0) self.test_success = slope_min_max_success and self.test_success @@ -115,7 +115,7 @@ class TestSlopeFilterComponentAndOverrides(EditorTestHelper): spawner_entity.get_set_test(2, "Configuration|Embedded Assets|[0]|Slope Filter|Max", 20) # 9) Validate instance counts post-filter: instances should only plant on slopes between 5-20 degrees - num_expected_slopes_post_filter_overrides = 16 + num_expected_slopes_post_filter_overrides = 12 overrides_min_max_success = self.wait_for_condition(lambda: dynveg.validate_instance_count_in_entity_shape( spawner_entity.id, num_expected_slopes_post_filter_overrides), 5.0) self.test_success = overrides_min_max_success and self.test_success diff --git a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_AltitudeFilter.py b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_AltitudeFilter.py index b79f4a7dee..ec8c225d3b 100755 --- a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_AltitudeFilter.py +++ b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_AltitudeFilter.py @@ -84,7 +84,7 @@ class TestAltitudeFilter(object): @pytest.mark.test_case_id("C4847478") @pytest.mark.SUITE_periodic @pytest.mark.dynveg_filter - @pytest.mark.xfail # LYN-3275 + @pytest.mark.xfail(reason="https://github.com/o3de/o3de/issues/2303") def test_AltitudeFilter_FilterStageToggle(self, request, editor, level, workspace, launcher_platform): cfg_args = [level] diff --git a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_LayerSpawner.py b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_LayerSpawner.py index e9087ad25b..65d994f841 100755 --- a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_LayerSpawner.py +++ b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_LayerSpawner.py @@ -100,7 +100,7 @@ class TestLayerSpawner(object): @pytest.mark.test_case_id("C4765973") @pytest.mark.SUITE_periodic @pytest.mark.dynveg_misc - @pytest.mark.xfail # LYN-3275 + @pytest.mark.xfail(reason="https://github.com/o3de/o3de/issues/2303") def test_LayerSpawner_FilterStageToggle(self, request, editor, level, workspace, launcher_platform): expected_lines = [ diff --git a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_PositionModifier.py b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_PositionModifier.py index 0e211ba311..ebbd58557e 100755 --- a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_PositionModifier.py +++ b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_PositionModifier.py @@ -56,9 +56,9 @@ class TestPositionModifier(object): ) @pytest.mark.test_case_id("C4874100") - @pytest.mark.SUITE_sandbox + @pytest.mark.SUITE_periodic @pytest.mark.dynveg_modifier - @pytest.mark.xfail # LYN-3275 + @pytest.mark.xfail(reason="https://github.com/o3de/o3de/issues/2303") def test_PositionModifier_AutoSnapToSurfaceWorks(self, request, editor, level, launcher_platform): expected_lines = [ diff --git a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_SlopeAlignmentModifier.py b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_SlopeAlignmentModifier.py index b5918b7097..3a01521d8e 100755 --- a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_SlopeAlignmentModifier.py +++ b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_SlopeAlignmentModifier.py @@ -38,7 +38,7 @@ class TestSlopeAlignmentModifier(object): @pytest.mark.test_case_id("C4896941") @pytest.mark.SUITE_periodic @pytest.mark.dynveg_modifier - @pytest.mark.skip # ATOM-14299 + @pytest.mark.xfail(reason="https://github.com/o3de/o3de/issues/2303") def test_SlopeAlignmentModifier_InstanceSurfaceAlignment(self, request, editor, level, launcher_platform): expected_lines = [ @@ -61,7 +61,7 @@ class TestSlopeAlignmentModifier(object): @pytest.mark.test_case_id("C4814459") @pytest.mark.SUITE_periodic @pytest.mark.dynveg_modifier - @pytest.mark.skip # ATOM-14299 + @pytest.mark.xfail(reason="https://github.com/o3de/o3de/issues/2303") def test_SlopeAlignmentModifierOverrides_InstanceSurfaceAlignment(self, request, editor, level, launcher_platform): expected_lines = [ diff --git a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_SlopeFilter.py b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_SlopeFilter.py index 414a089575..3065b2df61 100755 --- a/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_SlopeFilter.py +++ b/AutomatedTesting/Gem/PythonTests/largeworlds/dyn_veg/test_SlopeFilter.py @@ -68,7 +68,7 @@ class TestSlopeFilter(object): @pytest.mark.test_case_id("C4814464", "C4874096") @pytest.mark.SUITE_periodic @pytest.mark.dynveg_filter - @pytest.mark.skip # LYN-2211 + @pytest.mark.xfail(reason="https://github.com/o3de/o3de/issues/2303") def test_SlopeFilter_ComponentAndOverrides_InstancesPlantOnValidSlopes(self, request, editor, level, launcher_platform): @@ -79,10 +79,10 @@ class TestSlopeFilter(object): "instance count validation: True (found=1720, expected=1720)", "Instance Spawner Configuration|Slope Min: SUCCESS", "Instance Spawner Configuration|Slope Max: SUCCESS", - "instance count validation: True (found=44, expected=44)", + "instance count validation: True (found=48, expected=48)", "Instance Spawner Configuration|Embedded Assets|[0]|Slope Filter|Min: SUCCESS", "Instance Spawner Configuration|Embedded Assets|[0]|Slope Filter|Max: SUCCESS", - "instance count validation: True (found=16, expected=16)", + "instance count validation: True (found=12, expected=12)", "SlopeFilter_InstancesPlantOnValidSlope: result=SUCCESS" ] diff --git a/AutomatedTesting/Gem/PythonTests/physics/TestSuite_Main.py b/AutomatedTesting/Gem/PythonTests/physics/TestSuite_Main.py index 8e659b2ef6..bda4dae82b 100644 --- a/AutomatedTesting/Gem/PythonTests/physics/TestSuite_Main.py +++ b/AutomatedTesting/Gem/PythonTests/physics/TestSuite_Main.py @@ -43,11 +43,6 @@ class TestAutomation(TestAutomationBase): from . import C4044459_Material_DynamicFriction as test_module self._run_test(request, workspace, editor, test_module) - @revert_physics_config - def test_C15425929_Undo_Redo(self, request, workspace, editor, launcher_platform): - from . import C15425929_Undo_Redo as test_module - self._run_test(request, workspace, editor, test_module) - @revert_physics_config def test_C4976243_Collision_SameCollisionGroupDiffCollisionLayers(self, request, workspace, editor, launcher_platform): diff --git a/AutomatedTesting/Gem/PythonTests/physics/TestSuite_Sandbox.py b/AutomatedTesting/Gem/PythonTests/physics/TestSuite_Sandbox.py index fb798371a4..255016ddd6 100755 --- a/AutomatedTesting/Gem/PythonTests/physics/TestSuite_Sandbox.py +++ b/AutomatedTesting/Gem/PythonTests/physics/TestSuite_Sandbox.py @@ -43,3 +43,11 @@ class TestAutomation(TestAutomationBase): # Fixme: unexpected_lines.append(f"GroupName: {group}") # Fixme: expected_lines=["GroupName: "] self._run_test(request, workspace, editor, test_module) + + ## Seems to be flaky, need to investigate + @pytest.mark.xfail( + reason="Editor crashes and errors about files accessed by multiple processes appear in the log.") + @revert_physics_config + def test_C15425929_Undo_Redo(self, request, workspace, editor, launcher_platform): + from . import C15425929_Undo_Redo as test_module + self._run_test(request, workspace, editor, test_module) diff --git a/Code/Editor/EditorViewportWidget.cpp b/Code/Editor/EditorViewportWidget.cpp index b052e7e222..1f0c87ff6f 100644 --- a/Code/Editor/EditorViewportWidget.cpp +++ b/Code/Editor/EditorViewportWidget.cpp @@ -403,6 +403,19 @@ bool EditorViewportWidget::event(QEvent* event) m_keyDown.clear(); break; + case QEvent::ShortcutOverride: + { + // Ensure we exit game mode on escape, even if something else would eat our escape key event. + if (static_cast(event)->key() == Qt::Key_Escape && GetIEditor()->IsInGameMode()) + { + GetIEditor()->SetInGameMode(false); + event->accept(); + return true; + } + break; + } + + case QEvent::Shortcut: // a shortcut should immediately clear us, otherwise the release event never gets sent m_keyDown.clear(); @@ -456,7 +469,6 @@ void EditorViewportWidget::Update() auto m = AZMatrix3x4ToLYMatrix3x4(matrix); SetViewTM(m); - SetFOV(cameraState.m_fovOrZoom); m_Camera.SetZRange(cameraState.m_nearClip, cameraState.m_farClip); } @@ -2601,6 +2613,8 @@ void EditorViewportWidget::DestroyRenderContext() ////////////////////////////////////////////////////////////////////////// void EditorViewportWidget::SetDefaultCamera() { + // Ensure the FOV matches our internally stored setting + SetFOV(GetFOV()); if (IsDefaultCamera()) { return; diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/SandboxIntegration.h b/Code/Editor/Plugins/ComponentEntityEditorPlugin/SandboxIntegration.h index ffef14e84d..a2ec3b579b 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/SandboxIntegration.h +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/SandboxIntegration.h @@ -296,8 +296,8 @@ private: AZStd::unordered_set m_unsavedEntities; const AZStd::string m_defaultComponentIconLocation = "Icons/Components/Component_Placeholder.svg"; - const AZStd::string m_defaultComponentViewportIconLocation = "Icons/Components/Viewport/Component_Placeholder.png"; - const AZStd::string m_defaultEntityIconLocation = "Icons/Components/Viewport/Transform.png"; + const AZStd::string m_defaultComponentViewportIconLocation = "Icons/Components/Viewport/Component_Placeholder.svg"; + const AZStd::string m_defaultEntityIconLocation = "Icons/Components/Viewport/Transform.svg"; bool m_debugDisplayBusImplementationActive = false; diff --git a/Code/Editor/ShortcutDispatcher.cpp b/Code/Editor/ShortcutDispatcher.cpp index df7b25eb55..50e309d955 100644 --- a/Code/Editor/ShortcutDispatcher.cpp +++ b/Code/Editor/ShortcutDispatcher.cpp @@ -346,7 +346,6 @@ bool ShortcutDispatcher::eventFilter(QObject* obj, QEvent* ev) case QEvent::Shortcut: return shortcutFilter(obj, static_cast(ev)); - break; case QEvent::MouseButtonPress: if (!s_lastFocus || !IsAContainerForB(qobject_cast(obj), s_lastFocus)) diff --git a/Code/Framework/AzFramework/AzFramework/Physics/Common/PhysicsSceneQueries.cpp b/Code/Framework/AzFramework/AzFramework/Physics/Common/PhysicsSceneQueries.cpp index 2070d13972..ff79f097de 100644 --- a/Code/Framework/AzFramework/AzFramework/Physics/Common/PhysicsSceneQueries.cpp +++ b/Code/Framework/AzFramework/AzFramework/Physics/Common/PhysicsSceneQueries.cpp @@ -67,6 +67,17 @@ namespace AzPhysics } } + // class for exposing free functions to script + class SceneQueries + { + public: + AZ_TYPE_INFO(SceneQueries, "{4EFA3DA5-C0E3-4753-8C55-202228CA527E}"); + AZ_CLASS_ALLOCATOR(SceneQueries, AZ::SystemAllocator, 0); + + SceneQueries() = default; + ~SceneQueries() = default; + }; + /*static*/ void SceneQueryRequest::Reflect(AZ::ReflectContext* context) { if (auto* serializeContext = azdynamic_cast(context)) @@ -96,6 +107,7 @@ namespace AzPhysics ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Common) ->Attribute(AZ::Script::Attributes::Module, "physics") ->Attribute(AZ::Script::Attributes::Category, "PhysX") + ->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::All) ->Property("Collision", BehaviorValueProperty(&SceneQueryRequest::m_collisionGroup)) // Until enum class support for behavior context is done, expose this as an int ->Property("QueryType", [](const SceneQueryRequest& self) { return static_cast(self.m_queryType); }, @@ -134,11 +146,28 @@ namespace AzPhysics ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Common) ->Attribute(AZ::Script::Attributes::Module, "physics") ->Attribute(AZ::Script::Attributes::Category, "PhysX") + ->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::All) ->Property("Distance", BehaviorValueProperty(&RayCastRequest::m_distance)) ->Property("Start", BehaviorValueProperty(&RayCastRequest::m_start)) ->Property("Direction", BehaviorValueProperty(&RayCastRequest::m_direction)) ->Property("ReportMultipleHits", BehaviorValueProperty(&RayCastRequest::m_reportMultipleHits)) ; + + behaviorContext->Class("SceneQueries") + ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Common) + ->Attribute(AZ::Script::Attributes::Module, "physics") + ->Attribute(AZ::Script::Attributes::Category, "PhysX") + ->Method( + "CreateRayCastRequest", + [](const AZ::Vector3& start, const AZ::Vector3& direction, float distance, const AZStd::string& collisionGroup) + { + RayCastRequest request; + request.m_start = start; + request.m_direction = direction; + request.m_distance = distance; + request.m_collisionGroup = CollisionGroup(collisionGroup); + return request; + }); } } @@ -162,6 +191,7 @@ namespace AzPhysics ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Common) ->Attribute(AZ::Script::Attributes::Module, "physics") ->Attribute(AZ::Script::Attributes::Category, "PhysX") + ->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::All) ->Property("Distance", BehaviorValueProperty(&ShapeCastRequest::m_distance)) ->Property("Start", BehaviorValueProperty(&ShapeCastRequest::m_start)) ->Property("Direction", BehaviorValueProperty(&ShapeCastRequest::m_direction)) @@ -175,7 +205,6 @@ namespace AzPhysics return ShapeCastRequestHelpers::CreateSphereCastRequest( radius, startPose, direction, distance, queryType, collisionGroup, nullptr); }); - behaviorContext->Method( "CreateBoxCastRequest", [](const AZ::Vector3& boxDimensions, const AZ::Transform& startPose, const AZ::Vector3& direction, float distance, @@ -184,7 +213,6 @@ namespace AzPhysics return ShapeCastRequestHelpers::CreateBoxCastRequest( boxDimensions, startPose, direction, distance, queryType, collisionGroup, nullptr); }); - behaviorContext->Method( "CreateCapsuleCastRequest", [](float capsuleRadius, float capsuleHeight, const AZ::Transform& startPose, const AZ::Vector3& direction, float distance, @@ -267,6 +295,7 @@ namespace AzPhysics ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Common) ->Attribute(AZ::Script::Attributes::Module, "physics") ->Attribute(AZ::Script::Attributes::Category, "PhysX") + ->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::All) ->Property("Pose", BehaviorValueProperty(&OverlapRequest::m_pose)) ; @@ -349,6 +378,7 @@ namespace AzPhysics ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Common) ->Attribute(AZ::Script::Attributes::Module, "physics") ->Attribute(AZ::Script::Attributes::Category, "PhysX") + ->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::All) ->Property("Distance", BehaviorValueProperty(&SceneQueryHit::m_distance)) ->Property("Position", BehaviorValueProperty(&SceneQueryHit::m_position)) ->Property("Normal", BehaviorValueProperty(&SceneQueryHit::m_normal)) diff --git a/Code/Framework/AzFramework/AzFramework/Physics/PhysicsSystem.cpp b/Code/Framework/AzFramework/AzFramework/Physics/PhysicsSystem.cpp index c241f1c5ca..2fda459e20 100644 --- a/Code/Framework/AzFramework/AzFramework/Physics/PhysicsSystem.cpp +++ b/Code/Framework/AzFramework/AzFramework/Physics/PhysicsSystem.cpp @@ -51,7 +51,10 @@ namespace AzPhysics ->Method("GetOnPostsimulateEvent", getOnPostsimulateEvent) ->Attribute(AZ::Script::Attributes::AzEventDescription, postsimulateEventDescription) ->Method("GetSceneHandle", &SystemInterface::GetSceneHandle) - ->Method("GetScene", &SystemInterface::GetScene); + ->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::All) + ->Method("GetScene", &SystemInterface::GetScene) + ->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::All) + ; behaviorContext->Method( "GetPhysicsSystem", diff --git a/Code/Framework/AzNetworking/AzNetworking/Serialization/AzContainerSerializers.h b/Code/Framework/AzNetworking/AzNetworking/Serialization/AzContainerSerializers.h index b7f9b513ef..59e0cc8235 100644 --- a/Code/Framework/AzNetworking/AzNetworking/Serialization/AzContainerSerializers.h +++ b/Code/Framework/AzNetworking/AzNetworking/Serialization/AzContainerSerializers.h @@ -303,4 +303,22 @@ namespace AzNetworking return serializer.IsValid(); } }; + + template <> + struct SerializeObjectHelper + { + static bool SerializeObject(ISerializer& serializer, AZ::Transform& value) + { + AZ::Vector3 translation = value.GetTranslation(); + AZ::Quaternion rotation = value.GetRotation(); + float uniformScale = value.GetUniformScale(); + serializer.Serialize(translation, "Translation"); + serializer.Serialize(rotation, "Rotation"); + serializer.Serialize(uniformScale, "Scale"); + value.SetTranslation(translation); + value.SetRotation(rotation); + value.SetUniformScale(uniformScale); + return serializer.IsValid(); + } + }; } diff --git a/Code/Framework/AzNetworking/AzNetworking/Serialization/HashSerializer.cpp b/Code/Framework/AzNetworking/AzNetworking/Serialization/HashSerializer.cpp index cba01710df..23995d44ea 100644 --- a/Code/Framework/AzNetworking/AzNetworking/Serialization/HashSerializer.cpp +++ b/Code/Framework/AzNetworking/AzNetworking/Serialization/HashSerializer.cpp @@ -11,9 +11,9 @@ namespace AzNetworking { - // This gives us a hash sensitivity of around 1/128th of a unit, and will detect errors within a range of -16,777,216 to +16,777,216 - static const int32_t FloatHashMinValue = (INT_MIN >> 7); - static const int32_t FloatHashMaxValue = (INT_MAX >> 7); + // This gives us a hash sensitivity of around 1/512th of a unit, and will detect errors within a range of -4,194,304 to +4,194,304 + static const int32_t FloatHashMinValue = (INT_MIN >> 9); + static const int32_t FloatHashMaxValue = (INT_MAX >> 9); AZ::HashValue32 HashSerializer::GetHash() const { diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/AssetBrowser/Entries/RootAssetBrowserEntry.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/AssetBrowser/Entries/RootAssetBrowserEntry.cpp index 74edc3e1a6..2cfb7259b6 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/AssetBrowser/Entries/RootAssetBrowserEntry.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/AssetBrowser/Entries/RootAssetBrowserEntry.cpp @@ -403,7 +403,7 @@ namespace AzToolsFramework void RootAssetBrowserEntry::UpdateChildPaths(AssetBrowserEntry* child) const { child->m_relativePath = child->m_name; - child->m_fullPath = child->m_name; + child->m_fullPath = m_fullPath / child->m_name; AssetBrowserEntry::UpdateChildPaths(child); } diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Entity/PrefabEditorEntityOwnershipService.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Entity/PrefabEditorEntityOwnershipService.cpp index dfcbfd8c45..2d97689610 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Entity/PrefabEditorEntityOwnershipService.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Entity/PrefabEditorEntityOwnershipService.cpp @@ -88,13 +88,15 @@ namespace AzToolsFramework { if (m_rootInstance) { + AzToolsFramework::ToolsApplicationRequestBus::Broadcast( + &AzToolsFramework::ToolsApplicationRequestBus::Events::ClearDirtyEntities); Prefab::TemplateId templateId = m_rootInstance->GetTemplateId(); + m_rootInstance->Reset(); if (templateId != Prefab::InvalidTemplateId) { m_rootInstance->SetTemplateId(Prefab::InvalidTemplateId); m_prefabSystemComponent->RemoveTemplate(templateId); } - m_rootInstance->Reset(); m_rootInstance->SetContainerEntityName("Level"); } diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/Prefab/Instance/Instance.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/Prefab/Instance/Instance.cpp index 750efa1e36..043f864245 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/Prefab/Instance/Instance.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/Prefab/Instance/Instance.cpp @@ -82,16 +82,7 @@ namespace AzToolsFramework return; } - // If this instance's templateId is valid, we should be able to unregister this instance from - // Template to Instance mapping successfully. - if (m_templateId != InvalidTemplateId && - !m_templateInstanceMapper->UnregisterInstance(*this)) - { - AZ_Assert(false, - "Prefab - Attempted to Unregister Instance from Template with Id '%u'. " - "Instance may never have been registered or was unregistered early.", - m_templateId); - } + m_templateInstanceMapper->UnregisterInstance(*this); m_templateId = templateId; @@ -221,15 +212,7 @@ namespace AzToolsFramework void Instance::Reset() { - // Clean up Instance associations. - if (m_templateId != InvalidTemplateId && !m_templateInstanceMapper->UnregisterInstance(*this)) - { - AZ_Assert( - false, - "Prefab - Attempted to unregister Instance from Template on file path '%s' with Id '%u'. " - "Instance may never have been registered or was unregistered early.", - m_templateSourcePath.c_str(), m_templateId); - } + m_templateInstanceMapper->UnregisterInstance(*this); ClearEntities(); diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ToolsComponents/EditorNonUniformScaleComponent.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/ToolsComponents/EditorNonUniformScaleComponent.cpp index f02959a9f1..cc3870e27f 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ToolsComponents/EditorNonUniformScaleComponent.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ToolsComponents/EditorNonUniformScaleComponent.cpp @@ -40,7 +40,7 @@ namespace AzToolsFramework ->Attribute(AZ::Edit::Attributes::FixedComponentListIndex, 1) ->Attribute(AZ::Edit::Attributes::RemoveableByUser, true) ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/NonUniformScale.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/NonUniformScale.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/NonUniformScale.svg") ->DataElement( AZ::Edit::UIHandlers::Default, &EditorNonUniformScaleComponent::m_scale, "Non-uniform Scale", "Non-uniform scale for this entity only (does not propagate through hierarchy)") diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ToolsComponents/ScriptEditorComponent.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/ToolsComponents/ScriptEditorComponent.cpp index d5d50bc0d1..1ae1a3605a 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ToolsComponents/ScriptEditorComponent.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ToolsComponents/ScriptEditorComponent.cpp @@ -1021,6 +1021,7 @@ namespace AzToolsFramework ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::Category, "Scripting") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/LuaScript.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/LuaScript.svg") ->Attribute(AZ::Edit::Attributes::PrimaryAssetType, AZ::AzTypeInfo::Uuid()) ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Script.png") ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/lua-script/") diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ToolsComponents/TransformComponent.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/ToolsComponents/TransformComponent.cpp index f57e2828dc..7ab7dfdfe4 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ToolsComponents/TransformComponent.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ToolsComponents/TransformComponent.cpp @@ -1182,7 +1182,7 @@ namespace AzToolsFramework ClassElement(AZ::Edit::ClassElements::EditorData, "")-> Attribute(AZ::Edit::Attributes::FixedComponentListIndex, 0)-> Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Transform.svg")-> - Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Transform.png")-> + Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Transform.svg")-> Attribute(AZ::Edit::Attributes::AutoExpand, true)-> DataElement(AZ::Edit::UIHandlers::Default, &TransformComponent::m_parentEntityId, "Parent entity", "")-> Attribute(AZ::Edit::Attributes::ChangeValidate, &TransformComponent::ValidatePotentialParent)-> diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/EntityPropertyEditor.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/EntityPropertyEditor.cpp index 6e54a72b0f..319307009c 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/EntityPropertyEditor.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/EntityPropertyEditor.cpp @@ -4965,21 +4965,29 @@ namespace AzToolsFramework void EntityPropertyEditor::SetEditorUiEnabled(bool enable) { - if (enable) + if (!m_selectedEntityIds.empty()) { - EnableComponentActions(this, m_entityComponentActions); + if (enable) + { + EnableComponentActions(this, m_entityComponentActions); + } + else + { + DisableComponentActions(this, m_entityComponentActions); + } + SetPropertyEditorState(m_gui, enable); + + for (auto componentEditor : m_componentEditors) + { + AzQtComponents::SetWidgetInteractEnabled(componentEditor, enable); + } } else { - DisableComponentActions(this, m_entityComponentActions); + AzQtComponents::SetWidgetInteractEnabled(m_gui->m_entityDetailsLabel, enable); } m_disabled = !enable; - SetPropertyEditorState(m_gui, enable); - for (auto componentEditor : m_componentEditors) - { - AzQtComponents::SetWidgetInteractEnabled(componentEditor, enable); - } // record the selected state after entering/leaving component mode SaveComponentEditorState(); } diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/Button.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/Button.cpp index 0d03271b93..3798bc1d22 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/Button.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/Button.cpp @@ -6,7 +6,6 @@ * */ - #include namespace AzToolsFramework::ViewportUi::Internal diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/Button.h b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/Button.h index 2bd35ba75d..b18f4723d8 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/Button.h +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/Button.h @@ -28,7 +28,7 @@ namespace AzToolsFramework::ViewportUi::Internal AZStd::string m_icon; //!< The icon for this button, string path to an image. AZStd::string m_name; //!< The name displayed as a label next to the button's icon. - State m_state = State::Deselected; - ButtonId m_buttonId; + State m_state = State::Deselected; + ButtonId m_buttonId; }; } // namespace AzToolsFramework::ViewportUi::Internal diff --git a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ButtonGroup.cpp b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ButtonGroup.cpp index eb846ddde8..e933940d95 100644 --- a/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ButtonGroup.cpp +++ b/Code/Framework/AzToolsFramework/AzToolsFramework/ViewportUi/ButtonGroup.cpp @@ -45,11 +45,11 @@ namespace AzToolsFramework::ViewportUi::Internal if (name.empty()) { - m_buttons.insert({buttonId, AZStd::make_unique \ No newline at end of file diff --git a/Gems/Camera/Assets/Editor/Icons/Components/Viewport/Camera.png b/Gems/Camera/Assets/Editor/Icons/Components/Viewport/Camera.png deleted file mode 100644 index 3f5a572983..0000000000 --- a/Gems/Camera/Assets/Editor/Icons/Components/Viewport/Camera.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9de8e4084f9a76300fd582543133a080edc16f912a0f31843edf75257c496b10 -size 4089 diff --git a/Gems/Camera/Assets/Editor/Icons/Components/Viewport/Camera.svg b/Gems/Camera/Assets/Editor/Icons/Components/Viewport/Camera.svg new file mode 100644 index 0000000000..ef4620775a --- /dev/null +++ b/Gems/Camera/Assets/Editor/Icons/Components/Viewport/Camera.svg @@ -0,0 +1,25 @@ + + + icon / Gameplay / Camera / Camera - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Gems/Camera/Code/Source/EditorCameraComponent.cpp b/Gems/Camera/Code/Source/EditorCameraComponent.cpp index dfa662f206..beed4d7097 100644 --- a/Gems/Camera/Code/Source/EditorCameraComponent.cpp +++ b/Gems/Camera/Code/Source/EditorCameraComponent.cpp @@ -105,7 +105,7 @@ namespace Camera ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Camera") ->Attribute(AZ::Edit::Attributes::Icon, "Editor/Icons/Components/Camera.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Editor/Icons/Components/Viewport/Camera.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Editor/Icons/Components/Viewport/Camera.svg") ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/camera/") diff --git a/Gems/CameraFramework/Assets/Editor/Icons/Components/FlyCameraInput.svg b/Gems/CameraFramework/Assets/Editor/Icons/Components/FlyCameraInput.svg new file mode 100644 index 0000000000..bccf8c1875 --- /dev/null +++ b/Gems/CameraFramework/Assets/Editor/Icons/Components/FlyCameraInput.svg @@ -0,0 +1,7 @@ + + + icon / Gameplay / FlyCameraInput + + + + \ No newline at end of file diff --git a/Gems/CameraFramework/Assets/Editor/Icons/Components/Viewport/FlyCameraInput.svg b/Gems/CameraFramework/Assets/Editor/Icons/Components/Viewport/FlyCameraInput.svg new file mode 100644 index 0000000000..0a4f5f9b97 --- /dev/null +++ b/Gems/CameraFramework/Assets/Editor/Icons/Components/Viewport/FlyCameraInput.svg @@ -0,0 +1,25 @@ + + + icon / Gameplay / FlyCameraInput - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Gems/DebugDraw/Code/Source/EditorDebugDrawLineComponent.cpp b/Gems/DebugDraw/Code/Source/EditorDebugDrawLineComponent.cpp index 946833b583..17db8ae962 100644 --- a/Gems/DebugDraw/Code/Source/EditorDebugDrawLineComponent.cpp +++ b/Gems/DebugDraw/Code/Source/EditorDebugDrawLineComponent.cpp @@ -33,6 +33,7 @@ namespace DebugDraw ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Debugging") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/DebugDrawLine.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/DebugDrawLine.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->DataElement(0, &EditorDebugDrawLineComponent::m_element, "Line element settings", "Settings for the line element.") ->Attribute(AZ::Edit::Attributes::ChangeNotify, &EditorDebugDrawLineComponent::OnPropertyUpdate) diff --git a/Gems/DebugDraw/Code/Source/EditorDebugDrawObbComponent.cpp b/Gems/DebugDraw/Code/Source/EditorDebugDrawObbComponent.cpp index b21fc6e9cb..cc45f40ace 100644 --- a/Gems/DebugDraw/Code/Source/EditorDebugDrawObbComponent.cpp +++ b/Gems/DebugDraw/Code/Source/EditorDebugDrawObbComponent.cpp @@ -33,6 +33,7 @@ namespace DebugDraw ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Debugging") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/DebugDrawObb.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/DebugDrawObb.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->DataElement(0, &EditorDebugDrawObbComponent::m_element, "Obb element settings", "Settings for the obb element.") ->Attribute(AZ::Edit::Attributes::ChangeNotify, &EditorDebugDrawObbComponent::OnPropertyUpdate) diff --git a/Gems/DebugDraw/Code/Source/EditorDebugDrawRayComponent.cpp b/Gems/DebugDraw/Code/Source/EditorDebugDrawRayComponent.cpp index ecbc6e0062..697897e752 100644 --- a/Gems/DebugDraw/Code/Source/EditorDebugDrawRayComponent.cpp +++ b/Gems/DebugDraw/Code/Source/EditorDebugDrawRayComponent.cpp @@ -33,6 +33,7 @@ namespace DebugDraw ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Debugging") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/DebugDrawRay.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/DebugDrawRay.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->DataElement(0, &EditorDebugDrawRayComponent::m_element, "Ray element settings", "Settings for the ray element.") ->Attribute(AZ::Edit::Attributes::ChangeNotify, &EditorDebugDrawRayComponent::OnPropertyUpdate) diff --git a/Gems/DebugDraw/Code/Source/EditorDebugDrawSphereComponent.cpp b/Gems/DebugDraw/Code/Source/EditorDebugDrawSphereComponent.cpp index 3b1464135f..9817967877 100644 --- a/Gems/DebugDraw/Code/Source/EditorDebugDrawSphereComponent.cpp +++ b/Gems/DebugDraw/Code/Source/EditorDebugDrawSphereComponent.cpp @@ -33,6 +33,7 @@ namespace DebugDraw ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Debugging") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/DebugDrawSphere.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/DebugDrawSphere.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->DataElement(0, &EditorDebugDrawSphereComponent::m_element, "Sphere element settings", "Settings for the sphere element.") ->Attribute(AZ::Edit::Attributes::ChangeNotify, &EditorDebugDrawSphereComponent::OnPropertyUpdate) diff --git a/Gems/DebugDraw/Code/Source/EditorDebugDrawTextComponent.cpp b/Gems/DebugDraw/Code/Source/EditorDebugDrawTextComponent.cpp index 95bc907d41..08a0f0466e 100644 --- a/Gems/DebugDraw/Code/Source/EditorDebugDrawTextComponent.cpp +++ b/Gems/DebugDraw/Code/Source/EditorDebugDrawTextComponent.cpp @@ -33,6 +33,7 @@ namespace DebugDraw ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Debugging") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/DebugDrawText.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/DebugDrawText.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->DataElement(0, &EditorDebugDrawTextComponent::m_element, "Text element settings", "Settings for the text element.") ->Attribute(AZ::Edit::Attributes::ChangeNotify, &EditorDebugDrawTextComponent::OnPropertyUpdate) diff --git a/Gems/EMotionFX/Assets/Editor/Images/Icons/Resources.qrc b/Gems/EMotionFX/Assets/Editor/Images/Icons/Resources.qrc index a75503351f..3cc1afdf75 100644 --- a/Gems/EMotionFX/Assets/Editor/Images/Icons/Resources.qrc +++ b/Gems/EMotionFX/Assets/Editor/Images/Icons/Resources.qrc @@ -1,6 +1,7 @@ ActorComponent.svg + Viewport/ActorComponent.svg AlignBottom.svg AlignLeft.svg AlignRight.svg diff --git a/Gems/EMotionFX/Assets/Editor/Images/Icons/Viewport/ActorComponent.svg b/Gems/EMotionFX/Assets/Editor/Images/Icons/Viewport/ActorComponent.svg new file mode 100644 index 0000000000..aca209d632 --- /dev/null +++ b/Gems/EMotionFX/Assets/Editor/Images/Icons/Viewport/ActorComponent.svg @@ -0,0 +1,25 @@ + + + icon / Animation / Actor box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Gems/EMotionFX/Assets/Editor/Images/Icons/Viewport/AnimGraphComponent.svg b/Gems/EMotionFX/Assets/Editor/Images/Icons/Viewport/AnimGraphComponent.svg new file mode 100644 index 0000000000..1f1cb50260 --- /dev/null +++ b/Gems/EMotionFX/Assets/Editor/Images/Icons/Viewport/AnimGraphComponent.svg @@ -0,0 +1,29 @@ + + + icon / Animation / Anim Graph box + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Gems/EMotionFX/Code/Source/Integration/Editor/Components/EditorActorComponent.cpp b/Gems/EMotionFX/Code/Source/Integration/Editor/Components/EditorActorComponent.cpp index 941b087592..efc5cbd9a2 100644 --- a/Gems/EMotionFX/Code/Source/Integration/Editor/Components/EditorActorComponent.cpp +++ b/Gems/EMotionFX/Code/Source/Integration/Editor/Components/EditorActorComponent.cpp @@ -102,7 +102,7 @@ namespace EMotionFX ->Attribute(AZ::Edit::Attributes::Category, "Animation") ->Attribute(AZ::Edit::Attributes::Icon, ":/EMotionFX/ActorComponent.svg") ->Attribute(AZ::Edit::Attributes::PrimaryAssetType, azrtti_typeid()) - ->Attribute(AZ::Edit::Attributes::ViewportIcon, ":/EMotionFX/ActorComponent.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, ":/EMotionFX/Viewport/ActorComponent.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/actor/") diff --git a/Gems/EMotionFX/Code/Source/Integration/Editor/Components/EditorAnimGraphComponent.cpp b/Gems/EMotionFX/Code/Source/Integration/Editor/Components/EditorAnimGraphComponent.cpp index b1e8aabf40..eef41bc919 100644 --- a/Gems/EMotionFX/Code/Source/Integration/Editor/Components/EditorAnimGraphComponent.cpp +++ b/Gems/EMotionFX/Code/Source/Integration/Editor/Components/EditorAnimGraphComponent.cpp @@ -61,7 +61,7 @@ namespace EMotionFX ->Attribute(AZ::Edit::Attributes::Category, "Animation") ->Attribute(AZ::Edit::Attributes::Icon, ":/EMotionFX/AnimGraphComponent.svg") ->Attribute(AZ::Edit::Attributes::PrimaryAssetType, azrtti_typeid()) - ->Attribute(AZ::Edit::Attributes::ViewportIcon, ":/EMotionFX/AnimGraphComponent.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, ":/EMotionFX/Viewport/AnimGraphComponent.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/animgraph/") diff --git a/Gems/EMotionFX/Code/Source/Integration/Editor/Components/EditorSimpleLODComponent.cpp b/Gems/EMotionFX/Code/Source/Integration/Editor/Components/EditorSimpleLODComponent.cpp index 08a15ed0d4..030ca42ca1 100644 --- a/Gems/EMotionFX/Code/Source/Integration/Editor/Components/EditorSimpleLODComponent.cpp +++ b/Gems/EMotionFX/Code/Source/Integration/Editor/Components/EditorSimpleLODComponent.cpp @@ -43,7 +43,7 @@ namespace EMotionFX ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Animation") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/SimpleLODDistance.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Mannequin.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/SimpleLODDistance.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->DataElement(0, &EditorSimpleLODComponent::m_configuration, "LOD Configuration", ""); diff --git a/Gems/EMotionFX/Code/Source/Integration/Editor/Components/EditorSimpleMotionComponent.cpp b/Gems/EMotionFX/Code/Source/Integration/Editor/Components/EditorSimpleMotionComponent.cpp index b0cef343b6..8446050254 100644 --- a/Gems/EMotionFX/Code/Source/Integration/Editor/Components/EditorSimpleMotionComponent.cpp +++ b/Gems/EMotionFX/Code/Source/Integration/Editor/Components/EditorSimpleMotionComponent.cpp @@ -44,7 +44,7 @@ namespace EMotionFX ->Attribute(AZ::Edit::Attributes::Category, "Animation") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/SimpleMotion.svg") ->Attribute(AZ::Edit::Attributes::PrimaryAssetType, azrtti_typeid()) - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Mannequin.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Mannequin.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->DataElement(0, &EditorSimpleMotionComponent::m_previewInEditor, "Preview In Editor", "Plays motion in Editor") diff --git a/Gems/EMotionFX/Code/emotionfx_editor_files.cmake b/Gems/EMotionFX/Code/emotionfx_editor_files.cmake index 6fd3a3118e..2128aa39d1 100644 --- a/Gems/EMotionFX/Code/emotionfx_editor_files.cmake +++ b/Gems/EMotionFX/Code/emotionfx_editor_files.cmake @@ -10,7 +10,9 @@ set(FILES ../Assets/Editor/Layouts/Layouts.qrc ../Assets/Editor/Images/Icons/Resources.qrc ../Assets/Editor/Images/Icons/ActorComponent.svg + ../Assets/Editor/Images/Icons/Viewport/ActorComponent.svg ../Assets/Editor/Images/Icons/AnimGraphComponent.svg + ../Assets/Editor/Images/Icons/Viewport/AnimGraphComponent.svg Source/Integration/Editor/Components/EditorActorComponent.h Source/Integration/Editor/Components/EditorActorComponent.cpp Source/Integration/Editor/Components/EditorAnimAudioComponent.h diff --git a/Gems/EditorPythonBindings/Code/Source/PythonProxyBus.cpp b/Gems/EditorPythonBindings/Code/Source/PythonProxyBus.cpp index 2c1ef481a4..89f8248202 100644 --- a/Gems/EditorPythonBindings/Code/Source/PythonProxyBus.cpp +++ b/Gems/EditorPythonBindings/Code/Source/PythonProxyBus.cpp @@ -264,7 +264,7 @@ namespace EditorPythonBindings reinterpret_cast(userData)->OnEventGenericHook(eventName, eventIndex, result, numParameters, parameters); } - void OnEventGenericHook(const char* eventName, [[maybe_unused]] int eventIndex, [[maybe_unused]] AZ::BehaviorValueParameter* result, int numParameters, AZ::BehaviorValueParameter* parameters) + void OnEventGenericHook(const char* eventName, [[maybe_unused]] int eventIndex, AZ::BehaviorValueParameter* result, int numParameters, AZ::BehaviorValueParameter* parameters) { // find the callback for the event const auto& callbackEntry = m_callbackMap.find(eventName); @@ -299,12 +299,17 @@ namespace EditorPythonBindings // reset/prepare the stack allocator m_stackVariableAllocator = {}; - AZ::BehaviorValueParameter coverted; + // Reset the result parameter + m_resultParam = {}; + const AZ::u32 traits = result->m_traits; - if (Convert::PythonToBehaviorValueParameter(*result, pyResult, coverted, m_stackVariableAllocator)) + if (Convert::PythonToBehaviorValueParameter(*result, pyResult, m_resultParam, m_stackVariableAllocator)) { - result->Set(coverted); - result->m_value = coverted.GetValueAddress(); + // Setting result parameter into the output parameter will not fix its pointers + // to use output parameter's internal memory, because of this, result parameter + // needs to be a member so its memory is still valid when accessed in BehaviorEBusHandler::CallResult. + result->Set(m_resultParam); + result->m_value = m_resultParam.GetValueAddress(); if ((traits & AZ::BehaviorParameter::TR_POINTER) == AZ::BehaviorParameter::TR_POINTER) { result->m_value = &result->m_value; @@ -323,6 +328,7 @@ namespace EditorPythonBindings AZ::BehaviorEBusHandler* m_handler = nullptr; AZStd::unordered_map m_callbackMap; Convert::StackVariableAllocator m_stackVariableAllocator; + AZ::BehaviorValueParameter m_resultParam; }; } diff --git a/Gems/FastNoise/Code/Source/EditorFastNoiseGradientComponent.h b/Gems/FastNoise/Code/Source/EditorFastNoiseGradientComponent.h index 047fe2b0c6..354fe18b03 100644 --- a/Gems/FastNoise/Code/Source/EditorFastNoiseGradientComponent.h +++ b/Gems/FastNoise/Code/Source/EditorFastNoiseGradientComponent.h @@ -27,7 +27,7 @@ namespace FastNoiseGem static constexpr const char* const s_componentName = "FastNoise Gradient"; static constexpr const char* const s_componentDescription = "Generates gradient values using FastNoise a noise generation library with a collection of realtime noise algorithms"; static constexpr const char* const s_icon = "Editor/Icons/Components/Gradient.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/"; private: diff --git a/Gems/GradientSignal/Assets/Editor/Icons/Components/Gradient.svg b/Gems/GradientSignal/Assets/Editor/Icons/Components/Gradient.svg index c28bcc82df..8cb93dae41 100644 --- a/Gems/GradientSignal/Assets/Editor/Icons/Components/Gradient.svg +++ b/Gems/GradientSignal/Assets/Editor/Icons/Components/Gradient.svg @@ -1,69 +1,7 @@ - - icon / Modifiers / Gradients Copy 2 - Created with Sketch. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + icon / Modifiers / Gradients + + - + \ No newline at end of file diff --git a/Gems/GradientSignal/Assets/Editor/Icons/Components/GradientModifier.svg b/Gems/GradientSignal/Assets/Editor/Icons/Components/GradientModifier.svg index 7fcb31a2a4..2694aa0c5b 100644 --- a/Gems/GradientSignal/Assets/Editor/Icons/Components/GradientModifier.svg +++ b/Gems/GradientSignal/Assets/Editor/Icons/Components/GradientModifier.svg @@ -1,11 +1,7 @@ - - icon / Modifiers / Gradients Copy 3 - Created with Sketch. - - - - + icon / Modifiers / GradientsModifiers + + - + \ No newline at end of file diff --git a/Gems/GradientSignal/Assets/Editor/Icons/Components/Viewport/Gradient.png b/Gems/GradientSignal/Assets/Editor/Icons/Components/Viewport/Gradient.png deleted file mode 100644 index b7c66b2a11..0000000000 --- a/Gems/GradientSignal/Assets/Editor/Icons/Components/Viewport/Gradient.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:327acc2d66b1b8338b4481e67e646337ab3d4adc74a66635e4591e90424780a5 -size 807 diff --git a/Gems/GradientSignal/Assets/Editor/Icons/Components/Viewport/Gradient.svg b/Gems/GradientSignal/Assets/Editor/Icons/Components/Viewport/Gradient.svg index daa0d83fc4..5cb1949e28 100644 --- a/Gems/GradientSignal/Assets/Editor/Icons/Components/Viewport/Gradient.svg +++ b/Gems/GradientSignal/Assets/Editor/Icons/Components/Viewport/Gradient.svg @@ -1,25 +1,25 @@ - - icon / Modifiers / Gradients (box) - Created with Sketch. + icon / Modifiers / Gradients - box - + - + - - - + + + + + - + - + \ No newline at end of file diff --git a/Gems/GradientSignal/Assets/Editor/Icons/Components/Viewport/GradientModifier.png b/Gems/GradientSignal/Assets/Editor/Icons/Components/Viewport/GradientModifier.png deleted file mode 100644 index 68027a808d..0000000000 --- a/Gems/GradientSignal/Assets/Editor/Icons/Components/Viewport/GradientModifier.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ca4d67608f1742afabbbd5f8c3dd8c5e921db4b8c314894a1af10a332f73ddfc -size 1111 diff --git a/Gems/GradientSignal/Assets/Editor/Icons/Components/Viewport/GradientModifier.svg b/Gems/GradientSignal/Assets/Editor/Icons/Components/Viewport/GradientModifier.svg index d2b151b8cd..3ae6e9cd90 100644 --- a/Gems/GradientSignal/Assets/Editor/Icons/Components/Viewport/GradientModifier.svg +++ b/Gems/GradientSignal/Assets/Editor/Icons/Components/Viewport/GradientModifier.svg @@ -1,25 +1,25 @@ - - icon / Modifiers / Gradients Modifiers (box) - Created with Sketch. + icon / Modifiers / GradientsModifiers - box - + - + - - - + + + + + - + - + \ No newline at end of file diff --git a/Gems/GradientSignal/Code/Source/Editor/EditorConstantGradientComponent.h b/Gems/GradientSignal/Code/Source/Editor/EditorConstantGradientComponent.h index 321c126b91..02a5d8ec33 100644 --- a/Gems/GradientSignal/Code/Source/Editor/EditorConstantGradientComponent.h +++ b/Gems/GradientSignal/Code/Source/Editor/EditorConstantGradientComponent.h @@ -25,7 +25,7 @@ namespace GradientSignal static constexpr const char* const s_componentName = "Constant Gradient"; static constexpr const char* const s_componentDescription = "Returns a specified value as a gradient when sampled"; static constexpr const char* const s_icon = "Editor/Icons/Components/Gradient.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/"; }; } diff --git a/Gems/GradientSignal/Code/Source/Editor/EditorDitherGradientComponent.h b/Gems/GradientSignal/Code/Source/Editor/EditorDitherGradientComponent.h index eaa2ff2b8b..39ce4973c5 100644 --- a/Gems/GradientSignal/Code/Source/Editor/EditorDitherGradientComponent.h +++ b/Gems/GradientSignal/Code/Source/Editor/EditorDitherGradientComponent.h @@ -25,7 +25,7 @@ namespace GradientSignal static constexpr const char* const s_componentName = "Dither Gradient Modifier"; static constexpr const char* const s_componentDescription = "Applies ordered dithering to the input gradient"; static constexpr const char* const s_icon = "Editor/Icons/Components/GradientModifier.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/GradientModifier.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/GradientModifier.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/"; protected: diff --git a/Gems/GradientSignal/Code/Source/Editor/EditorGradientTransformComponent.h b/Gems/GradientSignal/Code/Source/Editor/EditorGradientTransformComponent.h index 80cd5f679b..8478d3e434 100644 --- a/Gems/GradientSignal/Code/Source/Editor/EditorGradientTransformComponent.h +++ b/Gems/GradientSignal/Code/Source/Editor/EditorGradientTransformComponent.h @@ -34,7 +34,7 @@ namespace GradientSignal static constexpr const char* const s_componentName = "Gradient Transform Modifier"; static constexpr const char* const s_componentDescription = "Transforms coordinates into a space relative to a shape, allowing other transform and sampling modifications"; static constexpr const char* const s_icon = "Editor/Icons/Components/GradientModifier.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/GradientModifier.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/GradientModifier.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/"; private: diff --git a/Gems/GradientSignal/Code/Source/Editor/EditorImageGradientComponent.h b/Gems/GradientSignal/Code/Source/Editor/EditorImageGradientComponent.h index 5a7a9742c1..d1682be46f 100644 --- a/Gems/GradientSignal/Code/Source/Editor/EditorImageGradientComponent.h +++ b/Gems/GradientSignal/Code/Source/Editor/EditorImageGradientComponent.h @@ -25,7 +25,7 @@ namespace GradientSignal static constexpr const char* const s_componentName = "Image Gradient"; static constexpr const char* const s_componentDescription = "Generates a gradient by sampling an image asset"; static constexpr const char* const s_icon = "Editor/Icons/Components/Gradient.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/"; }; } diff --git a/Gems/GradientSignal/Code/Source/Editor/EditorInvertGradientComponent.h b/Gems/GradientSignal/Code/Source/Editor/EditorInvertGradientComponent.h index 10c5e60692..ab9c13679c 100644 --- a/Gems/GradientSignal/Code/Source/Editor/EditorInvertGradientComponent.h +++ b/Gems/GradientSignal/Code/Source/Editor/EditorInvertGradientComponent.h @@ -25,7 +25,7 @@ namespace GradientSignal static constexpr const char* const s_componentName = "Invert Gradient Modifier"; static constexpr const char* const s_componentDescription = "Inverts a gradient's values"; static constexpr const char* const s_icon = "Editor/Icons/Components/GradientModifier.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/GradientModifier.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/GradientModifier.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/"; }; } diff --git a/Gems/GradientSignal/Code/Source/Editor/EditorLevelsGradientComponent.h b/Gems/GradientSignal/Code/Source/Editor/EditorLevelsGradientComponent.h index d914750b63..a2626d9a0a 100644 --- a/Gems/GradientSignal/Code/Source/Editor/EditorLevelsGradientComponent.h +++ b/Gems/GradientSignal/Code/Source/Editor/EditorLevelsGradientComponent.h @@ -25,7 +25,7 @@ namespace GradientSignal static constexpr const char* const s_componentName = "Levels Gradient Modifier"; static constexpr const char* const s_componentDescription = "Modifies an input gradient's signal using low/mid/high points and allows clamping of min/max output values"; static constexpr const char* const s_icon = "Editor/Icons/Components/GradientModifier.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/GradientModifier.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/GradientModifier.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/"; }; } diff --git a/Gems/GradientSignal/Code/Source/Editor/EditorMixedGradientComponent.h b/Gems/GradientSignal/Code/Source/Editor/EditorMixedGradientComponent.h index a4951f0c7b..837c64e6d8 100644 --- a/Gems/GradientSignal/Code/Source/Editor/EditorMixedGradientComponent.h +++ b/Gems/GradientSignal/Code/Source/Editor/EditorMixedGradientComponent.h @@ -57,7 +57,7 @@ namespace GradientSignal static constexpr const char* const s_componentName = "Gradient Mixer"; static constexpr const char* const s_componentDescription = "Generates a new gradient by combining other gradients"; static constexpr const char* const s_icon = "Editor/Icons/Components/GradientModifier.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/GradientModifier.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/GradientModifier.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/"; protected: diff --git a/Gems/GradientSignal/Code/Source/Editor/EditorPerlinGradientComponent.h b/Gems/GradientSignal/Code/Source/Editor/EditorPerlinGradientComponent.h index fd8672357d..4ef09ee3e4 100644 --- a/Gems/GradientSignal/Code/Source/Editor/EditorPerlinGradientComponent.h +++ b/Gems/GradientSignal/Code/Source/Editor/EditorPerlinGradientComponent.h @@ -26,7 +26,7 @@ namespace GradientSignal static constexpr const char* const s_componentName = "Perlin Noise Gradient"; static constexpr const char* const s_componentDescription = "Generates a gradient by sampling a perlin noise generator"; static constexpr const char* const s_icon = "Editor/Icons/Components/Gradient.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/"; private: diff --git a/Gems/GradientSignal/Code/Source/Editor/EditorPosterizeGradientComponent.h b/Gems/GradientSignal/Code/Source/Editor/EditorPosterizeGradientComponent.h index 9c36cd79c5..af85429b32 100644 --- a/Gems/GradientSignal/Code/Source/Editor/EditorPosterizeGradientComponent.h +++ b/Gems/GradientSignal/Code/Source/Editor/EditorPosterizeGradientComponent.h @@ -25,7 +25,7 @@ namespace GradientSignal static constexpr const char* const s_componentName = "Posterize Gradient Modifier"; static constexpr const char* const s_componentDescription = "Divides an input gradient's signal into a specified number of bands"; static constexpr const char* const s_icon = "Editor/Icons/Components/GradientModifier.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/GradientModifier.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/GradientModifier.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/"; }; } diff --git a/Gems/GradientSignal/Code/Source/Editor/EditorRandomGradientComponent.h b/Gems/GradientSignal/Code/Source/Editor/EditorRandomGradientComponent.h index eb010238c0..750e5bae4f 100644 --- a/Gems/GradientSignal/Code/Source/Editor/EditorRandomGradientComponent.h +++ b/Gems/GradientSignal/Code/Source/Editor/EditorRandomGradientComponent.h @@ -28,7 +28,7 @@ namespace GradientSignal static constexpr const char* const s_componentName = "Random Noise Gradient"; static constexpr const char* const s_componentDescription = "Generates a gradient by sampling a random noise generator"; static constexpr const char* const s_icon = "Editor/Icons/Components/Gradient.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/"; private: diff --git a/Gems/GradientSignal/Code/Source/Editor/EditorReferenceGradientComponent.h b/Gems/GradientSignal/Code/Source/Editor/EditorReferenceGradientComponent.h index 2bd600ee3f..41eccf27e4 100644 --- a/Gems/GradientSignal/Code/Source/Editor/EditorReferenceGradientComponent.h +++ b/Gems/GradientSignal/Code/Source/Editor/EditorReferenceGradientComponent.h @@ -25,7 +25,7 @@ namespace GradientSignal static constexpr const char* const s_componentName = "Reference Gradient"; static constexpr const char* const s_componentDescription = "References another gradient"; static constexpr const char* const s_icon = "Editor/Icons/Components/Gradient.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/"; }; } diff --git a/Gems/GradientSignal/Code/Source/Editor/EditorShapeAreaFalloffGradientComponent.h b/Gems/GradientSignal/Code/Source/Editor/EditorShapeAreaFalloffGradientComponent.h index 6446893bd3..d8d7c052ce 100644 --- a/Gems/GradientSignal/Code/Source/Editor/EditorShapeAreaFalloffGradientComponent.h +++ b/Gems/GradientSignal/Code/Source/Editor/EditorShapeAreaFalloffGradientComponent.h @@ -25,7 +25,7 @@ namespace GradientSignal static constexpr const char* const s_componentName = "Shape Falloff Gradient"; static constexpr const char* const s_componentDescription = "Generates a gradient based on distance from a shape"; static constexpr const char* const s_icon = "Editor/Icons/Components/Gradient.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/"; }; } diff --git a/Gems/GradientSignal/Code/Source/Editor/EditorSmoothStepGradientComponent.h b/Gems/GradientSignal/Code/Source/Editor/EditorSmoothStepGradientComponent.h index 57997bbcaf..864a419985 100644 --- a/Gems/GradientSignal/Code/Source/Editor/EditorSmoothStepGradientComponent.h +++ b/Gems/GradientSignal/Code/Source/Editor/EditorSmoothStepGradientComponent.h @@ -25,7 +25,7 @@ namespace GradientSignal static constexpr const char* const s_componentName = "Smooth-Step Gradient Modifier"; static constexpr const char* const s_componentDescription = "Generates a gradient with fall off, which creates a smoother input gradient"; static constexpr const char* const s_icon = "Editor/Icons/Components/GradientModifier.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/GradientModifier.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/GradientModifier.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/"; }; } diff --git a/Gems/GradientSignal/Code/Source/Editor/EditorSurfaceAltitudeGradientComponent.h b/Gems/GradientSignal/Code/Source/Editor/EditorSurfaceAltitudeGradientComponent.h index 354507ae26..b334bb149d 100644 --- a/Gems/GradientSignal/Code/Source/Editor/EditorSurfaceAltitudeGradientComponent.h +++ b/Gems/GradientSignal/Code/Source/Editor/EditorSurfaceAltitudeGradientComponent.h @@ -25,7 +25,7 @@ namespace GradientSignal static constexpr const char* const s_componentName = "Altitude Gradient"; static constexpr const char* const s_componentDescription = "Generates a gradient based on height within a range"; static constexpr const char* const s_icon = "Editor/Icons/Components/Gradient.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/"; // AZ::Component interface diff --git a/Gems/GradientSignal/Code/Source/Editor/EditorSurfaceMaskGradientComponent.h b/Gems/GradientSignal/Code/Source/Editor/EditorSurfaceMaskGradientComponent.h index 15132d9567..5df17a2699 100644 --- a/Gems/GradientSignal/Code/Source/Editor/EditorSurfaceMaskGradientComponent.h +++ b/Gems/GradientSignal/Code/Source/Editor/EditorSurfaceMaskGradientComponent.h @@ -25,7 +25,7 @@ namespace GradientSignal static constexpr const char* const s_componentName = "Surface Mask Gradient"; static constexpr const char* const s_componentDescription = "Generates a gradient based on underlying surface types"; static constexpr const char* const s_icon = "Editor/Icons/Components/Gradient.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/"; }; } diff --git a/Gems/GradientSignal/Code/Source/Editor/EditorSurfaceSlopeGradientComponent.h b/Gems/GradientSignal/Code/Source/Editor/EditorSurfaceSlopeGradientComponent.h index 4c3018eb88..ad1adb98f9 100644 --- a/Gems/GradientSignal/Code/Source/Editor/EditorSurfaceSlopeGradientComponent.h +++ b/Gems/GradientSignal/Code/Source/Editor/EditorSurfaceSlopeGradientComponent.h @@ -25,7 +25,7 @@ namespace GradientSignal static constexpr const char* const s_componentName = "Slope Gradient"; static constexpr const char* const s_componentDescription = "Generates a gradient based on surface angle"; static constexpr const char* const s_icon = "Editor/Icons/Components/Gradient.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/"; }; } diff --git a/Gems/GradientSignal/Code/Source/Editor/EditorThresholdGradientComponent.h b/Gems/GradientSignal/Code/Source/Editor/EditorThresholdGradientComponent.h index b6f97dc3ce..0291e65fd8 100644 --- a/Gems/GradientSignal/Code/Source/Editor/EditorThresholdGradientComponent.h +++ b/Gems/GradientSignal/Code/Source/Editor/EditorThresholdGradientComponent.h @@ -25,7 +25,7 @@ namespace GradientSignal static constexpr const char* const s_componentName = "Threshold Gradient Modifier"; static constexpr const char* const s_componentDescription = "Converts input gradient to be 0 if below the threshold or 1 if above the threshold"; static constexpr const char* const s_icon = "Editor/Icons/Components/GradientModifier.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/GradientModifier.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/GradientModifier.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/"; }; } diff --git a/Gems/LandscapeCanvas/Assets/Editor/Icons/Components/LandscapeCanvas.svg b/Gems/LandscapeCanvas/Assets/Editor/Icons/Components/LandscapeCanvas.svg index 6a285d145a..676c32797b 100644 --- a/Gems/LandscapeCanvas/Assets/Editor/Icons/Components/LandscapeCanvas.svg +++ b/Gems/LandscapeCanvas/Assets/Editor/Icons/Components/LandscapeCanvas.svg @@ -1,9 +1,7 @@ - - - icon /landscape canvas - Created with Sketch. - - + + icon / Scripting / LandscapeCanvas + + - + \ No newline at end of file diff --git a/Gems/LandscapeCanvas/Assets/Editor/Icons/Components/Viewport/LandscapeCanvas.png b/Gems/LandscapeCanvas/Assets/Editor/Icons/Components/Viewport/LandscapeCanvas.png deleted file mode 100644 index 72e3defae4..0000000000 --- a/Gems/LandscapeCanvas/Assets/Editor/Icons/Components/Viewport/LandscapeCanvas.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:99c9f097d3662abd40064d080a07e9ec85f5def92130960ec6f8e916a5ff207e -size 1278 diff --git a/Gems/LandscapeCanvas/Assets/Editor/Icons/Components/Viewport/LandscapeCanvas.svg b/Gems/LandscapeCanvas/Assets/Editor/Icons/Components/Viewport/LandscapeCanvas.svg new file mode 100644 index 0000000000..85fbec0317 --- /dev/null +++ b/Gems/LandscapeCanvas/Assets/Editor/Icons/Components/Viewport/LandscapeCanvas.svg @@ -0,0 +1,25 @@ + + + icon / Scripting / LandscapeCanvas - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Gems/LandscapeCanvas/Code/Source/EditorLandscapeCanvasComponent.cpp b/Gems/LandscapeCanvas/Code/Source/EditorLandscapeCanvasComponent.cpp index 5212863c07..58f44356ff 100644 --- a/Gems/LandscapeCanvas/Code/Source/EditorLandscapeCanvasComponent.cpp +++ b/Gems/LandscapeCanvas/Code/Source/EditorLandscapeCanvasComponent.cpp @@ -47,7 +47,7 @@ namespace LandscapeCanvas editContext->Class("Landscape Canvas", "The Landscape Canvas component provides a node-based Editor for authoring Dynamic Vegetation") ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Icon, "Editor/Icons/Components/LandscapeCanvas.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Editor/Icons/Components/Viewport/LandscapeCanvas.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Editor/Icons/Components/Viewport/LandscapeCanvas.svg") ->Attribute(AZ::Edit::Attributes::Category, "Vegetation") ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) diff --git a/Gems/LmbrCentral/Code/Source/Ai/EditorNavigationAreaComponent.cpp b/Gems/LmbrCentral/Code/Source/Ai/EditorNavigationAreaComponent.cpp index 0cb9d2d9d0..4a290443d0 100644 --- a/Gems/LmbrCentral/Code/Source/Ai/EditorNavigationAreaComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Ai/EditorNavigationAreaComponent.cpp @@ -49,7 +49,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "AI") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/NavigationArea.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/NavigationArea.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/NavigationArea.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/nav-area/") ->Attribute(AZ::Edit::Attributes::AutoExpand, true) diff --git a/Gems/LmbrCentral/Code/Source/Ai/EditorNavigationSeedComponent.cpp b/Gems/LmbrCentral/Code/Source/Ai/EditorNavigationSeedComponent.cpp index 018ddbb9db..975eb17da1 100644 --- a/Gems/LmbrCentral/Code/Source/Ai/EditorNavigationSeedComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Ai/EditorNavigationSeedComponent.cpp @@ -34,7 +34,7 @@ namespace LmbrCentral ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::Category, "AI") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/NavigationSeed.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/NavigationSeed.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/NavigationSeed.svg") ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/nav-seed/") ->DataElement(AZ::Edit::UIHandlers::ComboBox, &EditorNavigationSeedComponent::m_agentType, "Agent Type", "Describes the type of the Entity for navigation purposes.") diff --git a/Gems/LmbrCentral/Code/Source/Ai/NavigationComponent.cpp b/Gems/LmbrCentral/Code/Source/Ai/NavigationComponent.cpp index 69f75ec826..fbeb26706e 100644 --- a/Gems/LmbrCentral/Code/Source/Ai/NavigationComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Ai/NavigationComponent.cpp @@ -123,7 +123,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "AI") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Navigation.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Navigation.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Navigation.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/navigation/") diff --git a/Gems/LmbrCentral/Code/Source/Audio/AudioProxyComponent.cpp b/Gems/LmbrCentral/Code/Source/Audio/AudioProxyComponent.cpp index 030b126653..8be8aa042e 100644 --- a/Gems/LmbrCentral/Code/Source/Audio/AudioProxyComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Audio/AudioProxyComponent.cpp @@ -36,6 +36,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Audio") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/AudioProxy.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/AudioProxy.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AddableByUser, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/audio-proxy/") diff --git a/Gems/LmbrCentral/Code/Source/Audio/EditorAudioAreaEnvironmentComponent.cpp b/Gems/LmbrCentral/Code/Source/Audio/EditorAudioAreaEnvironmentComponent.cpp index e7e2a27d7e..2b4741331f 100644 --- a/Gems/LmbrCentral/Code/Source/Audio/EditorAudioAreaEnvironmentComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Audio/EditorAudioAreaEnvironmentComponent.cpp @@ -37,7 +37,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Audio") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/AudioAreaEnvironment.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/AudioAreaEnvironment.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/AudioAreaEnvironment.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/audio-area-environment/") diff --git a/Gems/LmbrCentral/Code/Source/Audio/EditorAudioListenerComponent.cpp b/Gems/LmbrCentral/Code/Source/Audio/EditorAudioListenerComponent.cpp index 43497ac104..205267db73 100644 --- a/Gems/LmbrCentral/Code/Source/Audio/EditorAudioListenerComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Audio/EditorAudioListenerComponent.cpp @@ -33,7 +33,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Audio") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/AudioListener.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/AudioListener.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/AudioListener.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/audio-listener/") diff --git a/Gems/LmbrCentral/Code/Source/Audio/EditorAudioMultiPositionComponent.cpp b/Gems/LmbrCentral/Code/Source/Audio/EditorAudioMultiPositionComponent.cpp index 3a5f0d0a92..987fa6e0e4 100644 --- a/Gems/LmbrCentral/Code/Source/Audio/EditorAudioMultiPositionComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Audio/EditorAudioMultiPositionComponent.cpp @@ -34,8 +34,8 @@ namespace LmbrCentral editContext->Class("Multi-Position Audio", "The Multi-Position Audio component provides the ability to broadcast sounds through multiple positions") ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Audio") - ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/AudioMultiPosition.png") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/AudioMultiPosition.png") + ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/AudioMultiPosition.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/AudioMultiPosition.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) // Followup: Need Help URL diff --git a/Gems/LmbrCentral/Code/Source/Audio/EditorAudioPreloadComponent.cpp b/Gems/LmbrCentral/Code/Source/Audio/EditorAudioPreloadComponent.cpp index 4d2943166b..a5d137c1b2 100644 --- a/Gems/LmbrCentral/Code/Source/Audio/EditorAudioPreloadComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Audio/EditorAudioPreloadComponent.cpp @@ -36,6 +36,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Audio") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/AudioPreload.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/AudioPreload.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) diff --git a/Gems/LmbrCentral/Code/Source/Audio/EditorAudioRtpcComponent.cpp b/Gems/LmbrCentral/Code/Source/Audio/EditorAudioRtpcComponent.cpp index 16638cde85..ab98692a50 100644 --- a/Gems/LmbrCentral/Code/Source/Audio/EditorAudioRtpcComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Audio/EditorAudioRtpcComponent.cpp @@ -31,7 +31,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Audio") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/AudioRtpc.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/AudioRtpc.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/AudioRtpc.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/audio-rtpc/") diff --git a/Gems/LmbrCentral/Code/Source/Audio/EditorAudioSwitchComponent.cpp b/Gems/LmbrCentral/Code/Source/Audio/EditorAudioSwitchComponent.cpp index ce08ddbf46..6ea89ee31e 100644 --- a/Gems/LmbrCentral/Code/Source/Audio/EditorAudioSwitchComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Audio/EditorAudioSwitchComponent.cpp @@ -31,7 +31,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Audio") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/AudioSwitch.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/AudioSwitch.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/AudioSwitch.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/audio-switch/") diff --git a/Gems/LmbrCentral/Code/Source/Audio/EditorAudioTriggerComponent.cpp b/Gems/LmbrCentral/Code/Source/Audio/EditorAudioTriggerComponent.cpp index efafda9b77..e38caf303b 100644 --- a/Gems/LmbrCentral/Code/Source/Audio/EditorAudioTriggerComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Audio/EditorAudioTriggerComponent.cpp @@ -40,7 +40,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Audio") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/AudioTrigger.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/AudioTrigger.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/AudioTrigger.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/audio-trigger/") diff --git a/Gems/LmbrCentral/Code/Source/Scripting/EditorLookAtComponent.cpp b/Gems/LmbrCentral/Code/Source/Scripting/EditorLookAtComponent.cpp index 75789ded1f..54a56cd2a6 100644 --- a/Gems/LmbrCentral/Code/Source/Scripting/EditorLookAtComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Scripting/EditorLookAtComponent.cpp @@ -31,8 +31,8 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Gameplay") - ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/LookAt.png") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/LookAt.png") + ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/LookAt.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/LookAt.svg") ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) diff --git a/Gems/LmbrCentral/Code/Source/Scripting/EditorRandomTimedSpawnerComponent.cpp b/Gems/LmbrCentral/Code/Source/Scripting/EditorRandomTimedSpawnerComponent.cpp index 7fa6c1043d..cd45c88a8a 100644 --- a/Gems/LmbrCentral/Code/Source/Scripting/EditorRandomTimedSpawnerComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Scripting/EditorRandomTimedSpawnerComponent.cpp @@ -56,7 +56,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Gameplay") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/RandomTimedSpawner.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/RandomTimedSpawner.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/RandomTimedSpawner.svg") ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "http://docs.aws.amazon.com/console/lumberyard/userguide/random-timed-spawner-component") diff --git a/Gems/LmbrCentral/Code/Source/Scripting/EditorSpawnerComponent.cpp b/Gems/LmbrCentral/Code/Source/Scripting/EditorSpawnerComponent.cpp index 45e690c9e8..315480c869 100644 --- a/Gems/LmbrCentral/Code/Source/Scripting/EditorSpawnerComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Scripting/EditorSpawnerComponent.cpp @@ -37,7 +37,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Gameplay") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Spawner.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Spawner.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Spawner.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/spawner/") diff --git a/Gems/LmbrCentral/Code/Source/Scripting/EditorTagComponent.cpp b/Gems/LmbrCentral/Code/Source/Scripting/EditorTagComponent.cpp index 08f0cacfaa..251f0203b4 100644 --- a/Gems/LmbrCentral/Code/Source/Scripting/EditorTagComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Scripting/EditorTagComponent.cpp @@ -35,7 +35,7 @@ namespace LmbrCentral ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::Category, "Gameplay") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Tag.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Tag.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Tag.svg") ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/tag/") ->DataElement(AZ::Edit::UIHandlers::Default, &EditorTagComponent::m_tags, "Tags", "The tags that will be on this entity by default") diff --git a/Gems/LmbrCentral/Code/Source/Scripting/SimpleStateComponent.cpp b/Gems/LmbrCentral/Code/Source/Scripting/SimpleStateComponent.cpp index f75a48054b..ad60e86834 100644 --- a/Gems/LmbrCentral/Code/Source/Scripting/SimpleStateComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Scripting/SimpleStateComponent.cpp @@ -203,7 +203,7 @@ namespace LmbrCentral ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/SimpleState.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/SimpleState.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/SimpleState.svg") ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/simple-state/") ->DataElement(AZ::Edit::UIHandlers::ComboBox, &SimpleStateComponent::m_initialStateName, "Initial state", "The initial active state") ->Attribute(AZ::Edit::Attributes::ChangeNotify, AZ_CRC("RefreshAttributesAndValues", 0xcbc2147c)) diff --git a/Gems/LmbrCentral/Code/Source/Shape/EditorBoxShapeComponent.cpp b/Gems/LmbrCentral/Code/Source/Shape/EditorBoxShapeComponent.cpp index 40e2860e95..f645c54610 100644 --- a/Gems/LmbrCentral/Code/Source/Shape/EditorBoxShapeComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Shape/EditorBoxShapeComponent.cpp @@ -44,7 +44,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Shape") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Box_Shape.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Box_Shape.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Box_Shape.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/shape/box-shape/") diff --git a/Gems/LmbrCentral/Code/Source/Shape/EditorCapsuleShapeComponent.cpp b/Gems/LmbrCentral/Code/Source/Shape/EditorCapsuleShapeComponent.cpp index 25dee65695..66c92d751a 100644 --- a/Gems/LmbrCentral/Code/Source/Shape/EditorCapsuleShapeComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Shape/EditorCapsuleShapeComponent.cpp @@ -38,7 +38,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Shape") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Capsule_Shape.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Capsule_Shape.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Capsule_Shape.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/shape/capsule-shape/") diff --git a/Gems/LmbrCentral/Code/Source/Shape/EditorCompoundShapeComponent.cpp b/Gems/LmbrCentral/Code/Source/Shape/EditorCompoundShapeComponent.cpp index 2ae833066e..6eb0ce1ffd 100644 --- a/Gems/LmbrCentral/Code/Source/Shape/EditorCompoundShapeComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Shape/EditorCompoundShapeComponent.cpp @@ -33,7 +33,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Shape") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Compound_Shape.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Sphere.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Compound_Shape.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/shape/compound-shape/") diff --git a/Gems/LmbrCentral/Code/Source/Shape/EditorCylinderShapeComponent.cpp b/Gems/LmbrCentral/Code/Source/Shape/EditorCylinderShapeComponent.cpp index 16cdf9f710..4b1497f8f3 100644 --- a/Gems/LmbrCentral/Code/Source/Shape/EditorCylinderShapeComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Shape/EditorCylinderShapeComponent.cpp @@ -38,7 +38,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Shape") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Cylinder_Shape.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Cylinder_Shape.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Cylinder_Shape.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/shape/cylinder-shape/") diff --git a/Gems/LmbrCentral/Code/Source/Shape/EditorDiskShapeComponent.cpp b/Gems/LmbrCentral/Code/Source/Shape/EditorDiskShapeComponent.cpp index d021d9a140..706253b40b 100644 --- a/Gems/LmbrCentral/Code/Source/Shape/EditorDiskShapeComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Shape/EditorDiskShapeComponent.cpp @@ -31,7 +31,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Shape") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Disk_Shape.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Disk_Shape.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Disk_Shape.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/shape/disk-shape/") diff --git a/Gems/LmbrCentral/Code/Source/Shape/EditorPolygonPrismShapeComponent.cpp b/Gems/LmbrCentral/Code/Source/Shape/EditorPolygonPrismShapeComponent.cpp index 1979345083..088a8b4b91 100644 --- a/Gems/LmbrCentral/Code/Source/Shape/EditorPolygonPrismShapeComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Shape/EditorPolygonPrismShapeComponent.cpp @@ -161,7 +161,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Shape") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/PolygonPrism.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/PolygonPrism.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/PolygonPrism.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/shape/polygon-prism-shape/") ->Attribute(AZ::Edit::Attributes::AutoExpand, true) diff --git a/Gems/LmbrCentral/Code/Source/Shape/EditorQuadShapeComponent.cpp b/Gems/LmbrCentral/Code/Source/Shape/EditorQuadShapeComponent.cpp index a6a7941926..42be01b536 100644 --- a/Gems/LmbrCentral/Code/Source/Shape/EditorQuadShapeComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Shape/EditorQuadShapeComponent.cpp @@ -31,7 +31,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Shape") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Quad_Shape.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Component_Placeholder.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Component_Placeholder.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/shape/quad-shape/") diff --git a/Gems/LmbrCentral/Code/Source/Shape/EditorSphereShapeComponent.cpp b/Gems/LmbrCentral/Code/Source/Shape/EditorSphereShapeComponent.cpp index 7bcc59a721..bc3c1ade24 100644 --- a/Gems/LmbrCentral/Code/Source/Shape/EditorSphereShapeComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Shape/EditorSphereShapeComponent.cpp @@ -42,7 +42,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Shape") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Sphere_Shape.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Sphere_Shape.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Sphere_Shape.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/shape/sphere-shape/") diff --git a/Gems/LmbrCentral/Code/Source/Shape/EditorSplineComponent.cpp b/Gems/LmbrCentral/Code/Source/Shape/EditorSplineComponent.cpp index 61519abf15..0875f237b3 100644 --- a/Gems/LmbrCentral/Code/Source/Shape/EditorSplineComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Shape/EditorSplineComponent.cpp @@ -60,7 +60,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Shape") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Spline.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Spline.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Spline.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/shape/spline/") ->Attribute(AZ::Edit::Attributes::AutoExpand, true) diff --git a/Gems/LmbrCentral/Code/Source/Shape/EditorTubeShapeComponent.cpp b/Gems/LmbrCentral/Code/Source/Shape/EditorTubeShapeComponent.cpp index 7e4343a1da..f576419a22 100644 --- a/Gems/LmbrCentral/Code/Source/Shape/EditorTubeShapeComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Shape/EditorTubeShapeComponent.cpp @@ -39,7 +39,7 @@ namespace LmbrCentral ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Shape") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Tube_Shape.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Tube_Shape.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Tube_Shape.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/shape/tube-shape/") diff --git a/Gems/LyShine/Code/Source/UiFlipbookAnimationComponent.cpp b/Gems/LyShine/Code/Source/UiFlipbookAnimationComponent.cpp index f0423c93a3..9b09630957 100644 --- a/Gems/LyShine/Code/Source/UiFlipbookAnimationComponent.cpp +++ b/Gems/LyShine/Code/Source/UiFlipbookAnimationComponent.cpp @@ -184,7 +184,7 @@ void UiFlipbookAnimationComponent::Reflect(AZ::ReflectContext* context) editInfo->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "UI") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Flipbook.png") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Flipbook.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Flipbook.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("UI")) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ; diff --git a/Gems/LyShine/Code/Source/UiSpawnerComponent.cpp b/Gems/LyShine/Code/Source/UiSpawnerComponent.cpp index d78cbda5b1..e9e4e4539f 100644 --- a/Gems/LyShine/Code/Source/UiSpawnerComponent.cpp +++ b/Gems/LyShine/Code/Source/UiSpawnerComponent.cpp @@ -77,7 +77,7 @@ void UiSpawnerComponent::Reflect(AZ::ReflectContext* context) editInfo->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "UI") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Spawner.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Spawner.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Spawner.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("UI", 0x27ff46b0)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true); diff --git a/Gems/LyShine/Code/Source/World/UiCanvasAssetRefComponent.cpp b/Gems/LyShine/Code/Source/World/UiCanvasAssetRefComponent.cpp index 0cefaf16e8..d2a307ecaf 100644 --- a/Gems/LyShine/Code/Source/World/UiCanvasAssetRefComponent.cpp +++ b/Gems/LyShine/Code/Source/World/UiCanvasAssetRefComponent.cpp @@ -168,7 +168,7 @@ void UiCanvasAssetRefComponent::Reflect(AZ::ReflectContext* context) editInfo->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "UI") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/UiCanvasAssetRef.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/UiCanvasRef.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/UiCanvasAssetRef.svg") ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/ui-canvas-asset-ref/") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)); diff --git a/Gems/LyShine/Code/Source/World/UiCanvasOnMeshComponent.cpp b/Gems/LyShine/Code/Source/World/UiCanvasOnMeshComponent.cpp index e23b3b7668..81a68a5a9e 100644 --- a/Gems/LyShine/Code/Source/World/UiCanvasOnMeshComponent.cpp +++ b/Gems/LyShine/Code/Source/World/UiCanvasOnMeshComponent.cpp @@ -343,7 +343,7 @@ void UiCanvasOnMeshComponent::Reflect(AZ::ReflectContext* context) editInfo->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "UI") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/UiCanvasOnMesh.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/UiCanvasOnMesh.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/UiCanvasOnMesh.svg") ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/ui-canvas-on-mesh/") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)); diff --git a/Gems/LyShine/Code/Source/World/UiCanvasProxyRefComponent.cpp b/Gems/LyShine/Code/Source/World/UiCanvasProxyRefComponent.cpp index c81dfa5f7c..22e4207825 100644 --- a/Gems/LyShine/Code/Source/World/UiCanvasProxyRefComponent.cpp +++ b/Gems/LyShine/Code/Source/World/UiCanvasProxyRefComponent.cpp @@ -71,7 +71,7 @@ void UiCanvasProxyRefComponent::Reflect(AZ::ReflectContext* context) editInfo->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "UI") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/UiCanvasProxyRef.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/UiCanvasRef.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/UiCanvasProxyRef.svg") ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/ui-canvas-proxy-ref/") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)); diff --git a/Gems/Multiplayer/Code/Source/AutoGen/AutoComponent_Header.jinja b/Gems/Multiplayer/Code/Source/AutoGen/AutoComponent_Header.jinja index fdf1587990..2eb57498aa 100644 --- a/Gems/Multiplayer/Code/Source/AutoGen/AutoComponent_Header.jinja +++ b/Gems/Multiplayer/Code/Source/AutoGen/AutoComponent_Header.jinja @@ -8,22 +8,22 @@ {% set PropertyName = UpperFirst(Property.attrib['Name']) %} {% if Property.attrib['Container'] == 'Array' %} {% if Property.attrib['IsRewindable']|booleanTrue %} -const RewindableArray<{{ Property.attrib['Type'] }}, {{ Property.attrib['Count'] }}> &Get{{ PropertyName }}Array() const; +const RewindableArray<{{ Property.attrib['Type'] }}, {{ Property.attrib['Count'] }}>& Get{{ PropertyName }}Array() const; {% else %} -const AZStd::array<{{ Property.attrib['Type'] }}, {{ Property.attrib['Count'] }}> &Get{{ PropertyName }}Array() const; +const AZStd::array<{{ Property.attrib['Type'] }}, {{ Property.attrib['Count'] }}>& Get{{ PropertyName }}Array() const; {% endif %} -const {{ Property.attrib['Type'] }} &Get{{ PropertyName }}(int32_t index) const; +const {{ Property.attrib['Type'] }}& Get{{ PropertyName }}(int32_t index) const; {% if Property.attrib['GenerateEventBindings']|booleanTrue %} void {{ PropertyName }}AddEvent(AZ::Event::Handler& handler); {% endif %} {% elif Property.attrib['Container'] == 'Vector' %} {% if Property.attrib['IsRewindable']|booleanTrue %} -const RewindableFixedVector<{{ Property.attrib['Type'] }}, {{ Property.attrib['Count'] }}> &Get{{ PropertyName }}Vector() const; +const RewindableFixedVector<{{ Property.attrib['Type'] }}, {{ Property.attrib['Count'] }}>& Get{{ PropertyName }}Vector() const; {% else %} -const AZStd::fixed_vector<{{ Property.attrib['Type'] }}, {{ Property.attrib['Count'] }}> &Get{{ PropertyName }}Vector() const; +const AZStd::fixed_vector<{{ Property.attrib['Type'] }}, {{ Property.attrib['Count'] }}>& Get{{ PropertyName }}Vector() const; {% endif %} -const {{ Property.attrib['Type'] }} &Get{{ PropertyName }}(int32_t index) const; -const {{ Property.attrib['Type'] }} &{{ PropertyName }}GetBack() const; +const {{ Property.attrib['Type'] }}& Get{{ PropertyName }}(int32_t index) const; +const {{ Property.attrib['Type'] }}& {{ PropertyName }}GetBack() const; uint32_t {{ PropertyName }}GetSize() const; {% if Property.attrib['GenerateEventBindings']|booleanTrue %} void {{ PropertyName }}AddEvent(AZ::Event::Handler& handler); @@ -63,7 +63,7 @@ void Set{{ PropertyName }}(const {{ Property.attrib['Type'] }}& value); {% macro DeclareNetworkPropertyGetters(Component, ReplicateFrom, ReplicateTo, IsProtected) %} {% call(Property) AutoComponentMacros.ParseNetworkProperties(Component, ReplicateFrom, ReplicateTo) %} {% set PropertyName = UpperFirst(Property.attrib['Name']) %} -{% if Property.attrib['IsPublic'] | booleanTrue != IsProtected %} +{% if Property.attrib['IsPublic']|booleanTrue != IsProtected %} //! {{ PropertyName }} Accessors //! {{ Property.attrib['Description'] }}. {{ DeclareNetworkPropertyGetter(Property) }} @@ -105,7 +105,7 @@ const {{ Property.attrib['Type'] }}& Get{{ PropertyName }}() const; {% macro DeclareNetworkPropertyAccessors(Component, ReplicateFrom, ReplicateTo, IsProtected) %} {% call(Property) AutoComponentMacros.ParseNetworkProperties(Component, ReplicateFrom, ReplicateTo) %} {% set PropertyName = UpperFirst(Property.attrib['Name']) %} -{% if Property.attrib['IsPublic'] | booleanTrue != IsProtected %} +{% if Property.attrib['IsPublic']|booleanTrue != IsProtected %} //! {{ PropertyName }} Accessors //! {{ Property.attrib['Description'] }}. {{ DeclareNetworkPropertyGetter(Property) -}} diff --git a/Gems/Multiplayer/Code/Source/AutoGen/AutoComponent_Source.jinja b/Gems/Multiplayer/Code/Source/AutoGen/AutoComponent_Source.jinja index 5c1a9fed3e..c0d4fe0dac 100644 --- a/Gems/Multiplayer/Code/Source/AutoGen/AutoComponent_Source.jinja +++ b/Gems/Multiplayer/Code/Source/AutoGen/AutoComponent_Source.jinja @@ -507,7 +507,7 @@ case {{ UpperFirst(Component.attrib['Name']) }}Internal::RemoteProcedure::{{ Upp {% endif %} } {% else %} - Handle{{ UpperFirst(Property.attrib['Name']) }}({{ ', '.join(rpcParamList) }}); + Handle{{ UpperFirst(Property.attrib['Name']) }}(invokingConnection, {{ ', '.join(rpcParamList) }}); {% endif %} } else if (paramsSerialized) @@ -712,11 +712,7 @@ void {{ ClassName }}::NotifyChanges{{ AutoComponentMacros.GetNetPropertiesSetNam {% macro DefineArchetypePropertyGet(Property, ClassType, ClassName, Prefix = '') %} {% if ClassType == '' or Property.attrib['ExportTo'] == ClassType or Property.attrib['ExportTo'] == "Common" %} {% if Property.attrib['Container'] == 'Array' %} -{% if Property.attrib['IsRewindable']|booleanTrue %} -const RewindableArray<{{ Property.attrib['Type'] }}, {{ Property.attrib['Count'] }}>& {{ ClassName }}::Get{{ UpperFirst(Property.attrib['Name']) }}Array() const -{% else %} const AZStd::array<{{ Property.attrib['Type'] }}, {{ Property.attrib['Count'] }}>& {{ ClassName }}::Get{{ UpperFirst(Property.attrib['Name']) }}Array() const -{% endif %} { return {{ Prefix }}m_{{ LowerFirst(Property.attrib['Name']) }}; } @@ -727,11 +723,7 @@ const {{ Property.attrib['Type'] }}& {{ ClassName }}::Get{{ UpperFirst(Property. } {% elif Property.attrib['Container'] == 'Vector' %} -{% if Property.attrib['IsRewindable']|booleanTrue %} -const RewindableFixedVector<{{ Property.attrib['Type'] }}, {{ Property.attrib['Count'] }}>& {{ ClassName }}::Get{{ UpperFirst(Property.attrib['Name']) }}Vector() const -{% else %} const AZStd::fixed_vector<{{ Property.attrib['Type'] }}, {{ Property.attrib['Count'] }}>& {{ ClassName }}::Get{{ UpperFirst(Property.attrib['Name']) }}Vector() const -{% endif %} { return {{ Prefix }}m_{{ LowerFirst(Property.attrib['Name']) }}; } diff --git a/Gems/Multiplayer/Code/Source/AutoGen/NetworkTransformComponent.AutoComponent.xml b/Gems/Multiplayer/Code/Source/AutoGen/NetworkTransformComponent.AutoComponent.xml index 8abc874aa6..cec005cc26 100644 --- a/Gems/Multiplayer/Code/Source/AutoGen/NetworkTransformComponent.AutoComponent.xml +++ b/Gems/Multiplayer/Code/Source/AutoGen/NetworkTransformComponent.AutoComponent.xml @@ -18,9 +18,4 @@ - - diff --git a/Gems/Multiplayer/Code/Source/Components/NetworkTransformComponent.cpp b/Gems/Multiplayer/Code/Source/Components/NetworkTransformComponent.cpp index c52880c199..1038ec48ef 100644 --- a/Gems/Multiplayer/Code/Source/Components/NetworkTransformComponent.cpp +++ b/Gems/Multiplayer/Code/Source/Components/NetworkTransformComponent.cpp @@ -91,7 +91,11 @@ namespace Multiplayer blendTransform.SetRotation(m_previousTransform.GetRotation().Slerp(m_targetTransform.GetRotation(), blendFactor)); blendTransform.SetTranslation(m_previousTransform.GetTranslation().Lerp(m_targetTransform.GetTranslation(), blendFactor)); blendTransform.SetUniformScale(AZ::Lerp(m_previousTransform.GetUniformScale(), m_targetTransform.GetUniformScale(), blendFactor)); - GetTransformComponent()->SetWorldTM(blendTransform); + + if (!GetTransformComponent()->GetWorldTM().IsClose(blendTransform)) + { + GetTransformComponent()->SetWorldTM(blendTransform); + } } } diff --git a/Gems/Multiplayer/Code/Source/MultiplayerSystemComponent.cpp b/Gems/Multiplayer/Code/Source/MultiplayerSystemComponent.cpp index 5fce900215..9a46bb10de 100644 --- a/Gems/Multiplayer/Code/Source/MultiplayerSystemComponent.cpp +++ b/Gems/Multiplayer/Code/Source/MultiplayerSystemComponent.cpp @@ -849,12 +849,10 @@ namespace Multiplayer void MultiplayerSystemComponent::TickVisibleNetworkEntities(float deltaTime, float serverRateSeconds) { - const float targetAdjustBlend = AZStd::clamp(deltaTime / serverRateSeconds, 0.0f, 1.0f); - m_renderBlendFactor += targetAdjustBlend; - // Linear close to the origin, but asymptote at y = 1 - const float adjustedBlendFactor = 1.0f - (std::pow(0.2f, m_renderBlendFactor)); - AZLOG(NET_Blending, "Computed blend factor of %f", adjustedBlendFactor); + const float targetAdjustBlend = AZStd::clamp(deltaTime / serverRateSeconds, 0.0f, 1.0f); + m_renderBlendFactor = 1.0f - (std::pow(0.2f, m_renderBlendFactor + targetAdjustBlend)); + AZLOG(NET_Blending, "Computed blend factor of %0.2f using a frametime of %0.2f and a serverTickRate of %0.2f", m_renderBlendFactor, deltaTime, serverRateSeconds); if (Camera::ActiveCameraRequestBus::HasHandlers()) { @@ -897,7 +895,7 @@ namespace Multiplayer for (NetBindComponent* netBindComponent : gatheredEntities) { - netBindComponent->NotifyPreRender(deltaTime, adjustedBlendFactor); + netBindComponent->NotifyPreRender(deltaTime, m_renderBlendFactor); } } else @@ -909,7 +907,7 @@ namespace Multiplayer NetBindComponent* netBindComponent = entity->FindComponent(); if (netBindComponent != nullptr) { - netBindComponent->NotifyPreRender(deltaTime, adjustedBlendFactor); + netBindComponent->NotifyPreRender(deltaTime, m_renderBlendFactor); } } } diff --git a/Gems/NvCloth/Code/Source/Components/EditorClothComponent.cpp b/Gems/NvCloth/Code/Source/Components/EditorClothComponent.cpp index a2eb03939a..f57cc0d171 100644 --- a/Gems/NvCloth/Code/Source/Components/EditorClothComponent.cpp +++ b/Gems/NvCloth/Code/Source/Components/EditorClothComponent.cpp @@ -46,7 +46,7 @@ namespace NvCloth ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "PhysX") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Cloth.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Cloth.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Cloth.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/cloth/") ->Attribute(AZ::Edit::Attributes::AutoExpand, true) diff --git a/Gems/PhysX/Code/Source/EditorColliderComponent.cpp b/Gems/PhysX/Code/Source/EditorColliderComponent.cpp index 8c6e6772e1..1409760742 100644 --- a/Gems/PhysX/Code/Source/EditorColliderComponent.cpp +++ b/Gems/PhysX/Code/Source/EditorColliderComponent.cpp @@ -186,7 +186,7 @@ namespace PhysX ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "PhysX") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/PhysXCollider.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/PhysXCollider.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/PhysXCollider.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/physx-collider/") ->Attribute(AZ::Edit::Attributes::AutoExpand, true) diff --git a/Gems/PhysX/Code/Source/EditorForceRegionComponent.cpp b/Gems/PhysX/Code/Source/EditorForceRegionComponent.cpp index b9a544f649..d2c6e64633 100644 --- a/Gems/PhysX/Code/Source/EditorForceRegionComponent.cpp +++ b/Gems/PhysX/Code/Source/EditorForceRegionComponent.cpp @@ -167,8 +167,8 @@ namespace PhysX "PhysX Force Region", "The force region component is used to apply a physical force on objects within the region") ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "PhysX") - ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/ForceRegion.png") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/ForceRegion.png") + ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/ForceVolume.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/ForceVolume.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/physx-force-region/") ->Attribute(AZ::Edit::Attributes::AutoExpand, true) diff --git a/Gems/PhysX/Code/Source/EditorRigidBodyComponent.cpp b/Gems/PhysX/Code/Source/EditorRigidBodyComponent.cpp index 02f035ed37..d27874f030 100644 --- a/Gems/PhysX/Code/Source/EditorRigidBodyComponent.cpp +++ b/Gems/PhysX/Code/Source/EditorRigidBodyComponent.cpp @@ -300,7 +300,7 @@ namespace PhysX ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "PhysX") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/PhysXRigidBody.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/PhysXRigidBody.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/PhysXRigidBody.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/physx-rigid-body-physics/") diff --git a/Gems/PhysX/Code/Source/EditorShapeColliderComponent.cpp b/Gems/PhysX/Code/Source/EditorShapeColliderComponent.cpp index 0c0bc86500..0e9a1ab8ee 100644 --- a/Gems/PhysX/Code/Source/EditorShapeColliderComponent.cpp +++ b/Gems/PhysX/Code/Source/EditorShapeColliderComponent.cpp @@ -83,7 +83,7 @@ namespace PhysX ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "PhysX") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/PhysXCollider.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/PhysXCollider.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/PhysXCollider.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->DataElement(AZ::Edit::UIHandlers::Default, &EditorShapeColliderComponent::m_colliderConfig, diff --git a/Gems/PhysX/Code/Source/PhysXCharacters/Components/EditorCharacterControllerComponent.cpp b/Gems/PhysX/Code/Source/PhysXCharacters/Components/EditorCharacterControllerComponent.cpp index 3edf6c4eec..d58952858d 100644 --- a/Gems/PhysX/Code/Source/PhysXCharacters/Components/EditorCharacterControllerComponent.cpp +++ b/Gems/PhysX/Code/Source/PhysXCharacters/Components/EditorCharacterControllerComponent.cpp @@ -97,7 +97,7 @@ namespace PhysX ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "PhysX") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/PhysXCharacter.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/PhysXCharacter.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/PhysXCharacter.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->DataElement(AZ::Edit::UIHandlers::Default, &EditorCharacterControllerComponent::m_configuration, "Configuration", "Configuration for the character controller") diff --git a/Gems/PhysX/Code/Source/PhysXCharacters/Components/EditorCharacterGameplayComponent.cpp b/Gems/PhysX/Code/Source/PhysXCharacters/Components/EditorCharacterGameplayComponent.cpp index 937b7c167f..3bc2b39ebf 100644 --- a/Gems/PhysX/Code/Source/PhysXCharacters/Components/EditorCharacterGameplayComponent.cpp +++ b/Gems/PhysX/Code/Source/PhysXCharacters/Components/EditorCharacterGameplayComponent.cpp @@ -47,7 +47,7 @@ namespace PhysX ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "PhysX") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/PhysXCharacter.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/PhysXCharacter.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/PhysXCharacter.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->DataElement(AZ::Edit::UIHandlers::Default, &EditorCharacterGameplayComponent::m_gameplayConfig, "Gameplay Configuration", "Gameplay Configuration") diff --git a/Gems/PhysX/Code/Source/PhysXCharacters/Components/RagdollComponent.cpp b/Gems/PhysX/Code/Source/PhysXCharacters/Components/RagdollComponent.cpp index b7834d511e..844cf65707 100644 --- a/Gems/PhysX/Code/Source/PhysXCharacters/Components/RagdollComponent.cpp +++ b/Gems/PhysX/Code/Source/PhysXCharacters/Components/RagdollComponent.cpp @@ -86,7 +86,7 @@ namespace PhysX ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "PhysX") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/PhysXRagdoll.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/PhysXRagdoll.svg") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/PhysXRagdoll.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->DataElement(AZ::Edit::UIHandlers::Default, &RagdollComponent::m_positionIterations, "Position Iteration Count", diff --git a/Gems/SceneProcessing/Code/Source/Generation/Components/TangentGenerator/TangentGenerateComponent.cpp b/Gems/SceneProcessing/Code/Source/Generation/Components/TangentGenerator/TangentGenerateComponent.cpp index e5faf610b3..c1c47e1955 100644 --- a/Gems/SceneProcessing/Code/Source/Generation/Components/TangentGenerator/TangentGenerateComponent.cpp +++ b/Gems/SceneProcessing/Code/Source/Generation/Components/TangentGenerator/TangentGenerateComponent.cpp @@ -52,11 +52,8 @@ namespace AZ::SceneGenerationComponents } } - - AZStd::vector TangentGenerateComponent::CollectRequiredTangentSpaces(const AZ::SceneAPI::Containers::Scene& scene) const + AZ::SceneAPI::DataTypes::TangentSpace TangentGenerateComponent::GetTangentSpaceFromRule(const AZ::SceneAPI::Containers::Scene& scene) const { - AZStd::vector result; - for (const auto& object : scene.GetManifest().GetValueStorage()) { if (object->RTTI_IsTypeOf(AZ::SceneAPI::DataTypes::IGroup::TYPEINFO_Uuid())) @@ -65,18 +62,14 @@ namespace AZ::SceneGenerationComponents const AZ::SceneAPI::SceneData::TangentsRule* rule = group->GetRuleContainerConst().FindFirstByType().get(); if (rule) { - if (AZStd::find(result.begin(), result.end(), rule->GetTangentSpace()) == result.end()) - { - result.emplace_back(rule->GetTangentSpace()); - } + return rule->GetTangentSpace(); } } } - return result; + return AZ::SceneAPI::DataTypes::TangentSpace::FromSourceScene; } - AZ::SceneAPI::Events::ProcessingResult TangentGenerateComponent::GenerateTangentData(TangentGenerateContext& context) { // Iterate over all graph content and filter out all meshes. @@ -115,17 +108,15 @@ namespace AZ::SceneGenerationComponents return AZ::SceneAPI::Events::ProcessingResult::Success; } - void TangentGenerateComponent::UpdateFbxTangentWValues(AZ::SceneAPI::Containers::SceneGraph& graph, const AZ::SceneAPI::Containers::SceneGraph::NodeIndex& nodeIndex, const AZ::SceneAPI::DataTypes::IMeshData* meshData) { // Iterate over all UV sets. - AZ::SceneAPI::DataTypes::IMeshVertexUVData* uvData = AZ::SceneAPI::SceneData::TangentsRule::FindUVData(graph, nodeIndex, 0); + AZ::SceneAPI::DataTypes::IMeshVertexUVData* uvData = FindUvData(graph, nodeIndex, 0); size_t uvSetIndex = 0; while (uvData) { - // Get the tangents and bitangents from the source scene. - AZ::SceneAPI::DataTypes::IMeshVertexTangentData* fbxTangentData = AZ::SceneAPI::SceneData::TangentsRule::FindTangentData(graph, nodeIndex, uvSetIndex, AZ::SceneAPI::DataTypes::TangentSpace::FromSourceScene); - AZ::SceneAPI::DataTypes::IMeshVertexBitangentData* fbxBitangentData = AZ::SceneAPI::SceneData::TangentsRule::FindBitangentData(graph, nodeIndex, uvSetIndex, AZ::SceneAPI::DataTypes::TangentSpace::FromSourceScene); + AZ::SceneAPI::DataTypes::IMeshVertexTangentData* fbxTangentData = FindTangentData(graph, nodeIndex, uvSetIndex); + AZ::SceneAPI::DataTypes::IMeshVertexBitangentData* fbxBitangentData = FindBitangentData(graph, nodeIndex, uvSetIndex); if (fbxTangentData && fbxBitangentData) { @@ -163,7 +154,7 @@ namespace AZ::SceneGenerationComponents } // Find the next UV set. - uvData = AZ::SceneAPI::SceneData::TangentsRule::FindUVData(graph, nodeIndex, ++uvSetIndex); + uvData = FindUvData(graph, nodeIndex, ++uvSetIndex); } } @@ -191,148 +182,249 @@ namespace AZ::SceneGenerationComponents AZ::SceneAPI::Containers::SceneGraph& graph = scene.GetGraph(); // Check if we have any UV data, if not, we cannot possibly generate the tangents. - AZ::SceneAPI::DataTypes::IMeshVertexUVData* uvData = AZ::SceneAPI::SceneData::TangentsRule::FindUVData(graph, nodeIndex, 0); - if (!uvData) + const size_t uvSetCount = CalcUvSetCount(graph, nodeIndex); + if (uvSetCount == 0) { - AZ_TracePrintf(AZ::SceneAPI::Utilities::WarningWindow, "We cannot generate tangents for this mesh, as it has no UV coordinates!\n"); + AZ_Warning(AZ::SceneAPI::Utilities::WarningWindow, false, "Cannot generate tangents for this mesh, as it has no UV coordinates.\n"); return true; // No fatal error } - // Check if we had tangents inside the source scene file. - AZ::SceneAPI::DataTypes::IMeshVertexTangentData* fbxTangentData = AZ::SceneAPI::SceneData::TangentsRule::FindTangentData(graph, nodeIndex, 0, AZ::SceneAPI::DataTypes::TangentSpace::FromSourceScene); - AZ::SceneAPI::DataTypes::IMeshVertexBitangentData* fbxBitangentData = AZ::SceneAPI::SceneData::TangentsRule::FindBitangentData(graph, nodeIndex, 0, AZ::SceneAPI::DataTypes::TangentSpace::FromSourceScene); - // Check what tangent spaces we need. - AZStd::vector requiredSpaces = CollectRequiredTangentSpaces(scene); - - // If we have no tangent rules, so if the required spaces is empty. - if (requiredSpaces.empty()) - { - AZ_TracePrintf(AZ::SceneAPI::Utilities::LogWindow, "Mesh '%s' has no tangents rule, assuming MikkT tangent space on UV set 0, using normalized tangents and orthogonal bitangents!\n", scene.GetGraph().GetNodeName(nodeIndex).GetName()); - requiredSpaces.emplace_back(AZ::SceneAPI::DataTypes::TangentSpace::MikkT); - } - - // If all we need is import from the source scene, and we have tangent data from the source scene already, then skip generating. - if ((requiredSpaces.size() == 1 && requiredSpaces[0] == AZ::SceneAPI::DataTypes::TangentSpace::FromSourceScene) && fbxTangentData && fbxBitangentData) - { - return true; - } + const AZ::SceneAPI::DataTypes::TangentSpace ruleTangentSpace = GetTangentSpaceFromRule(scene); // Find all blend shape data under the mesh. We need to generate the tangent and bitangent for blend shape as well. AZStd::vector blendShapes; FindBlendShapes(graph, nodeIndex, blendShapes); - // Generate all the tangent spaces we need. - // Do this for every UV set. + // Generate tangents/bitangents for all uv sets. bool allSuccess = true; - size_t uvSetIndex = 0; - while (uvData) + for (size_t uvSetIndex = 0; uvSetIndex < uvSetCount; ++uvSetIndex) { - for (AZ::SceneAPI::DataTypes::TangentSpace space : requiredSpaces) + AZ::SceneAPI::DataTypes::IMeshVertexUVData* uvData = FindUvData(graph, nodeIndex, uvSetIndex); + if (!uvData) { - switch (space) - { - // If we want Fbx tangents, we don't need to do anything for that. - case AZ::SceneAPI::DataTypes::TangentSpace::FromSourceScene: - { - allSuccess &= true; - } - break; + AZ_Error(AZ::SceneAPI::Utilities::ErrorWindow, false, "Cannot generate tangents for uv set %zu as it cannot be retrieved.\n", uvSetIndex); + continue; + } - // Generate using MikkT space. - case AZ::SceneAPI::DataTypes::TangentSpace::MikkT: - { - allSuccess &= AZ::TangentGeneration::Mesh::MikkT::GenerateTangents( - scene.GetManifest(), graph, nodeIndex, const_cast(meshData), uvSetIndex); - for (AZ::SceneData::GraphData::BlendShapeData* blendShape : blendShapes) - { - allSuccess &= AZ::TangentGeneration::BlendShape::MikkT::GenerateTangents(blendShape, uvSetIndex); - } - } - break; + // Check if we had tangents inside the source scene file. + AZ::SceneAPI::DataTypes::TangentSpace tangentSpace = ruleTangentSpace; + AZ::SceneAPI::DataTypes::IMeshVertexTangentData* tangentData = FindTangentData(graph, nodeIndex, uvSetIndex); + AZ::SceneAPI::DataTypes::IMeshVertexBitangentData* bitangentData = FindBitangentData(graph, nodeIndex, uvSetIndex); - // If we use EMotion FX calculated tangents, we don't need to generate this here. - case AZ::SceneAPI::DataTypes::TangentSpace::EMotionFX: - allSuccess &= true; - break; - - default: + // If all we need is import from the source scene, and we have tangent data from the source scene already, then skip generating. + if ((tangentSpace == AZ::SceneAPI::DataTypes::TangentSpace::FromSourceScene)) + { + if (tangentData && bitangentData) { - AZ_Assert(false, "Unknown tangent space selected (spaceID=%d) for UV set %d, cannot generate tangents!\n", static_cast(space), uvSetIndex); - allSuccess = false; + AZ_TracePrintf(AZ::SceneAPI::Utilities::LogWindow, "Using source scene tangents and bitangents for uv set %zu for mesh '%s'.\n", + uvSetIndex, scene.GetGraph().GetNodeName(nodeIndex).GetName()); + continue; } + else + { + // In case there are no tangents/bitangents while the user selected to use the source ones, default to MikkT. + AZ_Warning(AZ::SceneAPI::Utilities::WarningWindow, false, "Cannot use source scene tangents as there are none in the asset for mesh '%s' for uv set %zu. Defaulting to generating tangents using MikkT.\n", + scene.GetGraph().GetNodeName(nodeIndex).GetName(), uvSetIndex); + tangentSpace = AZ::SceneAPI::DataTypes::TangentSpace::MikkT; } } - // Try to find the next UV set. - uvData = AZ::SceneAPI::SceneData::TangentsRule::FindUVData(graph, nodeIndex, ++uvSetIndex); + if (!tangentData) + { + if (!AZ::SceneGenerationComponents::TangentGenerateComponent::CreateTangentLayer(scene.GetManifest(), nodeIndex, meshData->GetVertexCount(), uvSetIndex, + tangentSpace, graph, &tangentData)) + { + AZ_Error(AZ::SceneAPI::Utilities::ErrorWindow, false, "Failed to create tangents data set for mesh %s for uv set %zu.\n", + scene.GetGraph().GetNodeName(nodeIndex).GetName(), uvSetIndex); + continue; + } + } + if (!bitangentData) + { + if (!AZ::SceneGenerationComponents::TangentGenerateComponent::CreateBitangentLayer(scene.GetManifest(), nodeIndex, meshData->GetVertexCount(), uvSetIndex, + tangentSpace, graph, &bitangentData)) + { + AZ_Error(AZ::SceneAPI::Utilities::ErrorWindow, false, "Failed to create bitangents data set for mesh %s for uv set %zu.\n", + scene.GetGraph().GetNodeName(nodeIndex).GetName(), uvSetIndex); + continue; + } + } + tangentData->SetTangentSpace(tangentSpace); + bitangentData->SetTangentSpace(tangentSpace); + + switch (tangentSpace) + { + // Generate using MikkT space. + case AZ::SceneAPI::DataTypes::TangentSpace::MikkT: + { + allSuccess &= AZ::TangentGeneration::Mesh::MikkT::GenerateTangents(meshData, uvData, tangentData, bitangentData); + + for (AZ::SceneData::GraphData::BlendShapeData* blendShape : blendShapes) + { + allSuccess &= AZ::TangentGeneration::BlendShape::MikkT::GenerateTangents(blendShape, uvSetIndex); + } + } + break; + + default: + { + AZ_Assert(false, "Unknown tangent space selected (spaceID=%d) for UV set %d, cannot generate tangents!\n", static_cast(tangentSpace), uvSetIndex); + allSuccess = false; + } + } } return allSuccess; } - - bool TangentGenerateComponent::CreateTangentBitangentLayers(AZ::SceneAPI::Containers::SceneManifest& manifest, const AZ::SceneAPI::Containers::SceneGraph::NodeIndex& nodeIndex, size_t numVerts, size_t uvSetIndex, AZ::SceneAPI::DataTypes::TangentSpace tangentSpace, const char* spaceName, AZ::SceneAPI::Containers::SceneGraph& graph, AZ::SceneAPI::DataTypes::IMeshVertexTangentData** outTangentData, AZ::SceneAPI::DataTypes::IMeshVertexBitangentData** outBitangentData) + size_t TangentGenerateComponent::CalcUvSetCount(AZ::SceneAPI::Containers::SceneGraph& graph, const AZ::SceneAPI::Containers::SceneGraph::NodeIndex& nodeIndex) const { - *outTangentData = nullptr; - *outBitangentData = nullptr; + const auto nameContentView = AZ::SceneAPI::Containers::Views::MakePairView(graph.GetNameStorage(), graph.GetContentStorage()); + + size_t result = 0; + auto meshChildView = AZ::SceneAPI::Containers::Views::MakeSceneGraphChildView(graph, nodeIndex, nameContentView.begin(), true); + for (auto child = meshChildView.begin(); child != meshChildView.end(); ++child) + { + AZ::SceneAPI::DataTypes::IMeshVertexUVData* data = azrtti_cast(child->second.get()); + if (data) + { + result++; + } + } + + return result; + } + + AZ::SceneAPI::DataTypes::IMeshVertexUVData* TangentGenerateComponent::FindUvData(AZ::SceneAPI::Containers::SceneGraph& graph, const AZ::SceneAPI::Containers::SceneGraph::NodeIndex& nodeIndex, AZ::u64 uvSet) const + { + const auto nameContentView = AZ::SceneAPI::Containers::Views::MakePairView(graph.GetNameStorage(), graph.GetContentStorage()); + + AZ::u64 uvSetIndex = 0; + auto meshChildView = AZ::SceneAPI::Containers::Views::MakeSceneGraphChildView(graph, nodeIndex, nameContentView.begin(), true); + for (auto child = meshChildView.begin(); child != meshChildView.end(); ++child) + { + AZ::SceneAPI::DataTypes::IMeshVertexUVData* data = azrtti_cast(child->second.get()); + if (data) + { + if (uvSetIndex == uvSet) + { + return data; + } + uvSetIndex++; + } + } + + return nullptr; + } + + AZ::SceneAPI::DataTypes::IMeshVertexTangentData* TangentGenerateComponent::FindTangentData(AZ::SceneAPI::Containers::SceneGraph& graph, const AZ::SceneAPI::Containers::SceneGraph::NodeIndex& nodeIndex, AZ::u64 setIndex) const + { + const auto nameContentView = AZ::SceneAPI::Containers::Views::MakePairView(graph.GetNameStorage(), graph.GetContentStorage()); + + auto meshChildView = AZ::SceneAPI::Containers::Views::MakeSceneGraphChildView(graph, nodeIndex, nameContentView.begin(), true); + for (auto child = meshChildView.begin(); child != meshChildView.end(); ++child) + { + AZ::SceneAPI::DataTypes::IMeshVertexTangentData* data = azrtti_cast(child->second.get()); + if (data && setIndex == data->GetTangentSetIndex()) + { + return data; + } + } + + return nullptr; + } + + bool TangentGenerateComponent::CreateTangentLayer(AZ::SceneAPI::Containers::SceneManifest& manifest, + const AZ::SceneAPI::Containers::SceneGraph::NodeIndex& nodeIndex, + size_t numVerts, + size_t uvSetIndex, + AZ::SceneAPI::DataTypes::TangentSpace tangentSpace, + AZ::SceneAPI::Containers::SceneGraph& graph, + AZ::SceneAPI::DataTypes::IMeshVertexTangentData** outTangentData) + { + *outTangentData = nullptr; - //------------------------------------------------------------- - // Create tangent layer. - //------------------------------------------------------------- AZStd::shared_ptr tangentData = AZStd::make_shared(); tangentData->Resize(numVerts); AZ_Assert(tangentData, "Failed to allocate tangent data for scene graph."); if (!tangentData) { - AZ_TracePrintf(AZ::SceneAPI::Utilities::ErrorWindow, "Failed to allocate tangent data.\n"); + AZ_Error(AZ::SceneAPI::Utilities::ErrorWindow, false, "Failed to allocate tangent data.\n"); return false; } tangentData->SetTangentSetIndex(uvSetIndex); tangentData->SetTangentSpace(tangentSpace); - const AZStd::string tangentGeneratedName = AZStd::string::format("TangentSet_%s_%zu", spaceName, uvSetIndex); + const AZStd::string tangentGeneratedName = AZStd::string::format("TangentSet_%zu", uvSetIndex); const AZStd::string tangentSetName = AZ::SceneAPI::DataTypes::Utilities::CreateUniqueName(tangentGeneratedName, manifest); AZ::SceneAPI::Containers::SceneGraph::NodeIndex newIndex = graph.AddChild(nodeIndex, tangentSetName.c_str(), tangentData); AZ_Assert(newIndex.IsValid(), "Failed to create SceneGraph node for tangent attribute."); if (!newIndex.IsValid()) { - AZ_TracePrintf(AZ::SceneAPI::Utilities::ErrorWindow, "Failed to create node in scene graph that stores tangent data.\n"); + AZ_Error(AZ::SceneAPI::Utilities::ErrorWindow, false, "Failed to create node in scene graph that stores tangent data.\n"); return false; } graph.MakeEndPoint(newIndex); - //------------------------------------------------------------- - // Create bitangent layer. - //------------------------------------------------------------- + *outTangentData = tangentData.get(); + return true; + } + + AZ::SceneAPI::DataTypes::IMeshVertexBitangentData* TangentGenerateComponent::FindBitangentData(AZ::SceneAPI::Containers::SceneGraph& graph, const AZ::SceneAPI::Containers::SceneGraph::NodeIndex& nodeIndex, AZ::u64 setIndex) const + { + const auto nameContentView = AZ::SceneAPI::Containers::Views::MakePairView(graph.GetNameStorage(), graph.GetContentStorage()); + + auto meshChildView = AZ::SceneAPI::Containers::Views::MakeSceneGraphChildView(graph, nodeIndex, nameContentView.begin(), true); + for (auto child = meshChildView.begin(); child != meshChildView.end(); ++child) + { + AZ::SceneAPI::DataTypes::IMeshVertexBitangentData* data = azrtti_cast(child->second.get()); + if (data && setIndex == data->GetBitangentSetIndex()) + { + return data; + } + } + + return nullptr; + } + + bool TangentGenerateComponent::CreateBitangentLayer(AZ::SceneAPI::Containers::SceneManifest& manifest, + const AZ::SceneAPI::Containers::SceneGraph::NodeIndex& nodeIndex, + size_t numVerts, + size_t uvSetIndex, + AZ::SceneAPI::DataTypes::TangentSpace tangentSpace, + AZ::SceneAPI::Containers::SceneGraph& graph, + AZ::SceneAPI::DataTypes::IMeshVertexBitangentData** outBitangentData) + { + *outBitangentData = nullptr; + AZStd::shared_ptr bitangentData = AZStd::make_shared(); bitangentData->Resize(numVerts); AZ_Assert(bitangentData, "Failed to allocate bitangent data for scene graph."); if (!bitangentData) { - AZ_TracePrintf(AZ::SceneAPI::Utilities::ErrorWindow, "Failed to allocate bitangent data.\n"); + AZ_Error(AZ::SceneAPI::Utilities::ErrorWindow, false, "Failed to allocate bitangent data.\n"); return false; } bitangentData->SetBitangentSetIndex(uvSetIndex); bitangentData->SetTangentSpace(tangentSpace); - const AZStd::string bitangentGeneratedName = AZStd::string::format("BitangentSet_%s_%zu", spaceName, uvSetIndex); + const AZStd::string bitangentGeneratedName = AZStd::string::format("BitangentSet_%zu", uvSetIndex); const AZStd::string bitangentSetName = AZ::SceneAPI::DataTypes::Utilities::CreateUniqueName(bitangentGeneratedName, manifest); - newIndex = graph.AddChild(nodeIndex, bitangentSetName.c_str(), bitangentData); + AZ::SceneAPI::Containers::SceneGraph::NodeIndex newIndex = graph.AddChild(nodeIndex, bitangentSetName.c_str(), bitangentData); AZ_Assert(newIndex.IsValid(), "Failed to create SceneGraph node for bitangent attribute."); if (!newIndex.IsValid()) { - AZ_TracePrintf(AZ::SceneAPI::Utilities::ErrorWindow, "Failed to create node in scene graph that stores bitangent data.\n"); + AZ_Error(AZ::SceneAPI::Utilities::ErrorWindow, false, "Failed to create node in scene graph that stores bitangent data.\n"); return false; } graph.MakeEndPoint(newIndex); - *outTangentData = tangentData.get(); - *outBitangentData = bitangentData.get(); + *outBitangentData = bitangentData.get(); return true; } } // namespace AZ::SceneGenerationComponents diff --git a/Gems/SceneProcessing/Code/Source/Generation/Components/TangentGenerator/TangentGenerateComponent.h b/Gems/SceneProcessing/Code/Source/Generation/Components/TangentGenerator/TangentGenerateComponent.h index a720c3a191..06d9aded11 100644 --- a/Gems/SceneProcessing/Code/Source/Generation/Components/TangentGenerator/TangentGenerateComponent.h +++ b/Gems/SceneProcessing/Code/Source/Generation/Components/TangentGenerator/TangentGenerateComponent.h @@ -50,8 +50,6 @@ namespace AZ::SceneGenerationComponents TangentGenerateComponent(); static void Reflect(AZ::ReflectContext* context); - static bool CreateTangentBitangentLayers(AZ::SceneAPI::Containers::SceneManifest& manifest, const AZ::SceneAPI::Containers::SceneGraph::NodeIndex& nodeIndex, size_t numVerts, size_t uvSetIndex, AZ::SceneAPI::DataTypes::TangentSpace tangentSpace, - const char* spaceName, AZ::SceneAPI::Containers::SceneGraph& graph, AZ::SceneAPI::DataTypes::IMeshVertexTangentData** outTangentData, AZ::SceneAPI::DataTypes::IMeshVertexBitangentData** outBitangentData); AZ::SceneAPI::Events::ProcessingResult GenerateTangentData(TangentGenerateContext& context); @@ -61,6 +59,27 @@ namespace AZ::SceneGenerationComponents AZStd::vector& outBlendShapes) const; bool GenerateTangentsForMesh(AZ::SceneAPI::Containers::Scene& scene, const AZ::SceneAPI::Containers::SceneGraph::NodeIndex& nodeIndex, AZ::SceneAPI::DataTypes::IMeshData* meshData); void UpdateFbxTangentWValues(AZ::SceneAPI::Containers::SceneGraph& graph, const AZ::SceneAPI::Containers::SceneGraph::NodeIndex& nodeIndex, const AZ::SceneAPI::DataTypes::IMeshData* meshData); - AZStd::vector CollectRequiredTangentSpaces(const AZ::SceneAPI::Containers::Scene& scene) const; + AZ::SceneAPI::DataTypes::TangentSpace GetTangentSpaceFromRule(const AZ::SceneAPI::Containers::Scene& scene) const; + + size_t CalcUvSetCount(AZ::SceneAPI::Containers::SceneGraph& graph, const AZ::SceneAPI::Containers::SceneGraph::NodeIndex& nodeIndex) const; + AZ::SceneAPI::DataTypes::IMeshVertexUVData* FindUvData(AZ::SceneAPI::Containers::SceneGraph& graph, const AZ::SceneAPI::Containers::SceneGraph::NodeIndex& nodeIndex, AZ::u64 uvSet) const; + + AZ::SceneAPI::DataTypes::IMeshVertexTangentData* FindTangentData(AZ::SceneAPI::Containers::SceneGraph& graph, const AZ::SceneAPI::Containers::SceneGraph::NodeIndex& nodeIndex, AZ::u64 setIndex) const; + bool CreateTangentLayer(AZ::SceneAPI::Containers::SceneManifest& manifest, + const AZ::SceneAPI::Containers::SceneGraph::NodeIndex& nodeIndex, + size_t numVerts, + size_t uvSetIndex, + AZ::SceneAPI::DataTypes::TangentSpace tangentSpace, + AZ::SceneAPI::Containers::SceneGraph& graph, + AZ::SceneAPI::DataTypes::IMeshVertexTangentData** outTangentData); + + AZ::SceneAPI::DataTypes::IMeshVertexBitangentData* FindBitangentData(AZ::SceneAPI::Containers::SceneGraph& graph, const AZ::SceneAPI::Containers::SceneGraph::NodeIndex& nodeIndex, AZ::u64 setIndex) const; + bool CreateBitangentLayer(AZ::SceneAPI::Containers::SceneManifest& manifest, + const AZ::SceneAPI::Containers::SceneGraph::NodeIndex& nodeIndex, + size_t numVerts, + size_t uvSetIndex, + AZ::SceneAPI::DataTypes::TangentSpace tangentSpace, + AZ::SceneAPI::Containers::SceneGraph& graph, + AZ::SceneAPI::DataTypes::IMeshVertexBitangentData** outBitangentData); }; } // namespace AZ::SceneGenerationComponents diff --git a/Gems/SceneProcessing/Code/Source/Generation/Components/TangentGenerator/TangentGenerators/MikkTGenerator.cpp b/Gems/SceneProcessing/Code/Source/Generation/Components/TangentGenerator/TangentGenerators/MikkTGenerator.cpp index a6191e3b36..3f736815e5 100644 --- a/Gems/SceneProcessing/Code/Source/Generation/Components/TangentGenerator/TangentGenerators/MikkTGenerator.cpp +++ b/Gems/SceneProcessing/Code/Source/Generation/Components/TangentGenerator/TangentGenerators/MikkTGenerator.cpp @@ -32,7 +32,6 @@ namespace AZ::TangentGeneration::Mesh::MikkT return customData->m_meshData->GetFaceCount(); } - int GetNumVerticesOfFace(const SMikkTSpaceContext* context, const int face) { AZ_UNUSED(context); @@ -40,7 +39,6 @@ namespace AZ::TangentGeneration::Mesh::MikkT return 3; } - void GetPosition(const SMikkTSpaceContext* context, float posOut[], const int face, const int vert) { MikktCustomData* customData = static_cast(context->m_pUserData); @@ -51,7 +49,6 @@ namespace AZ::TangentGeneration::Mesh::MikkT posOut[2] = pos.GetZ(); } - void GetNormal(const SMikkTSpaceContext* context, float normOut[], const int face, const int vert) { MikktCustomData* customData = static_cast(context->m_pUserData); @@ -62,7 +59,6 @@ namespace AZ::TangentGeneration::Mesh::MikkT normOut[2] = normal.GetZ(); } - void GetTexCoord(const SMikkTSpaceContext* context, float texOut[], const int face, const int vert) { MikktCustomData* customData = static_cast(context->m_pUserData); @@ -72,7 +68,6 @@ namespace AZ::TangentGeneration::Mesh::MikkT texOut[1] = uv.GetY(); } - // This function is used to return the tangent and signValue to the application. // tangent is a unit length vector. // For normal maps it is sufficient to use the following simplified version of the bitangent which is generated at pixel/vertex level. @@ -91,7 +86,6 @@ namespace AZ::TangentGeneration::Mesh::MikkT customData->m_bitangentData->SetBitangent(vertexIndex, bitangent); } - // This function is used to return tangent space results to the application. // tangent and bitangent are unit length vectors and magS and magT are their // true magnitudes which can be used for relief mapping effects. @@ -111,27 +105,11 @@ namespace AZ::TangentGeneration::Mesh::MikkT customData->m_bitangentData->SetBitangent(vertexIndex, bitangentVec); } - - bool GenerateTangents(AZ::SceneAPI::Containers::SceneManifest& manifest, AZ::SceneAPI::Containers::SceneGraph& graph, const AZ::SceneAPI::Containers::SceneGraph::NodeIndex& nodeIndex, AZ::SceneAPI::DataTypes::IMeshData* meshData, size_t uvSet) + bool GenerateTangents(const AZ::SceneAPI::DataTypes::IMeshData* meshData, + const AZ::SceneAPI::DataTypes::IMeshVertexUVData* uvData, + AZ::SceneAPI::DataTypes::IMeshVertexTangentData* outTangentData, + AZ::SceneAPI::DataTypes::IMeshVertexBitangentData* outBitangentData) { - // Create tangent and bitangent data sets and relate them to the given UV set. - AZ::SceneAPI::DataTypes::IMeshVertexUVData* uvData = AZ::SceneAPI::SceneData::TangentsRule::FindUVData(graph, nodeIndex, uvSet); - AZ::SceneAPI::DataTypes::IMeshVertexTangentData* tangentData = nullptr; - AZ::SceneAPI::DataTypes::IMeshVertexBitangentData* bitangentData = nullptr; - if (!uvData) - { - AZ_TracePrintf(AZ::SceneAPI::Utilities::ErrorWindow, "Cannot find UV data (set index=%d) to generate tangents and bitangents from in MikkT generator!\n", uvSet); - return false; - } - - if (!AZ::SceneGenerationComponents::TangentGenerateComponent::CreateTangentBitangentLayers(manifest, nodeIndex, meshData->GetVertexCount(), uvSet, AZ::SceneAPI::DataTypes::TangentSpace::MikkT, "MikkT", graph, &tangentData, &bitangentData)) - { - AZ_TracePrintf(AZ::SceneAPI::Utilities::ErrorWindow, "Failed to create tangents and bitangents data sets inside MikkT generator!\n"); - return false; - } - - //---------------------------------- - // Provide the MikkT interface. SMikkTSpaceInterface mikkInterface; mikkInterface.m_getNumFaces = GetNumFaces; @@ -146,8 +124,8 @@ namespace AZ::TangentGeneration::Mesh::MikkT MikktCustomData customData; customData.m_meshData = meshData; customData.m_uvData = uvData; - customData.m_tangentData = tangentData; - customData.m_bitangentData = bitangentData; + customData.m_tangentData = outTangentData; + customData.m_bitangentData = outBitangentData; // Generate the tangents. SMikkTSpaceContext mikkContext; @@ -155,7 +133,7 @@ namespace AZ::TangentGeneration::Mesh::MikkT mikkContext.m_pUserData = &customData; if (genTangSpaceDefault(&mikkContext) == 0) { - AZ_TracePrintf(AZ::SceneAPI::Utilities::ErrorWindow, "Failed to generate tangents and bitangents using MikkT, because MikkT reported failure!\n"); + AZ_TracePrintf(AZ::SceneAPI::Utilities::ErrorWindow, "Failed to generate tangents and bitangents using MikkT.\n"); return false; } diff --git a/Gems/SceneProcessing/Code/Source/Generation/Components/TangentGenerator/TangentGenerators/MikkTGenerator.h b/Gems/SceneProcessing/Code/Source/Generation/Components/TangentGenerator/TangentGenerators/MikkTGenerator.h index 98451d3c46..4b1d8ebd72 100644 --- a/Gems/SceneProcessing/Code/Source/Generation/Components/TangentGenerator/TangentGenerators/MikkTGenerator.h +++ b/Gems/SceneProcessing/Code/Source/Generation/Components/TangentGenerator/TangentGenerators/MikkTGenerator.h @@ -19,12 +19,14 @@ namespace AZ::TangentGeneration::Mesh::MikkT { struct MikktCustomData { - AZ::SceneAPI::DataTypes::IMeshData* m_meshData; - AZ::SceneAPI::DataTypes::IMeshVertexUVData* m_uvData; - AZ::SceneAPI::DataTypes::IMeshVertexTangentData* m_tangentData; - AZ::SceneAPI::DataTypes::IMeshVertexBitangentData* m_bitangentData; + const AZ::SceneAPI::DataTypes::IMeshData* m_meshData; + const AZ::SceneAPI::DataTypes::IMeshVertexUVData* m_uvData; + AZ::SceneAPI::DataTypes::IMeshVertexTangentData* m_tangentData; + AZ::SceneAPI::DataTypes::IMeshVertexBitangentData* m_bitangentData; }; - // The main generation method. - bool GenerateTangents(AZ::SceneAPI::Containers::SceneManifest& manifest, AZ::SceneAPI::Containers::SceneGraph& graph, const AZ::SceneAPI::Containers::SceneGraph::NodeIndex& nodeIndex, AZ::SceneAPI::DataTypes::IMeshData* meshData, size_t uvSet); + bool GenerateTangents(const AZ::SceneAPI::DataTypes::IMeshData* meshData, + const AZ::SceneAPI::DataTypes::IMeshVertexUVData* uvData, + AZ::SceneAPI::DataTypes::IMeshVertexTangentData* outTangentData, + AZ::SceneAPI::DataTypes::IMeshVertexBitangentData* outBitangentData); } // namespace AZ::TangentGeneration::MikkT diff --git a/Gems/ScriptCanvas/Code/Editor/Components/EditorScriptCanvasComponent.cpp b/Gems/ScriptCanvas/Code/Editor/Components/EditorScriptCanvasComponent.cpp index 9cc23c78a5..9135f348b3 100644 --- a/Gems/ScriptCanvas/Code/Editor/Components/EditorScriptCanvasComponent.cpp +++ b/Gems/ScriptCanvas/Code/Editor/Components/EditorScriptCanvasComponent.cpp @@ -164,7 +164,7 @@ namespace ScriptCanvasEditor ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Scripting") ->Attribute(AZ::Edit::Attributes::Icon, "Icons/ScriptCanvas/ScriptCanvas.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/ScriptCanvas/Viewport/ScriptCanvas.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/ScriptCanvas/Viewport/ScriptCanvas.svg") ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ->Attribute(AZ::Edit::Attributes::PrimaryAssetType, ScriptCanvasAssetHandler::GetAssetTypeStatic()) ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) diff --git a/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Core/Connection.cpp b/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Core/Connection.cpp index 830562ebcd..4dc4acda1e 100644 --- a/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Core/Connection.cpp +++ b/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Core/Connection.cpp @@ -23,6 +23,11 @@ namespace ScriptCanvas AZStd::string failedContract; AZStd::all_of(firstSlot.GetContracts().begin(), firstSlot.GetContracts().end(), [&firstSlot, &secondSlot, &outcome](const AZStd::unique_ptr& contract) { + if (!contract) + { + return false; + } + outcome = contract->Evaluate(firstSlot, secondSlot); if (outcome.IsSuccess()) { diff --git a/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Core/Slot.cpp b/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Core/Slot.cpp index 8ab20a3f54..44d2367156 100644 --- a/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Core/Slot.cpp +++ b/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Core/Slot.cpp @@ -828,10 +828,13 @@ namespace ScriptCanvas for (const auto& contract : m_contracts) { - failureReason = contract->EvaluateForType(dataType); - if (!failureReason) + if (contract) { - return failureReason; + failureReason = contract->EvaluateForType(dataType); + if (!failureReason) + { + return failureReason; + } } } diff --git a/Gems/StartingPointInput/Assets/Editor/Icons/Components/InputConfig.svg b/Gems/StartingPointInput/Assets/Editor/Icons/Components/InputConfig.svg index 4bed49745e..23ac770a0f 100644 --- a/Gems/StartingPointInput/Assets/Editor/Icons/Components/InputConfig.svg +++ b/Gems/StartingPointInput/Assets/Editor/Icons/Components/InputConfig.svg @@ -1,8 +1,6 @@ - icon / Gameplay / Input - Created with Sketch. @@ -12,4 +10,4 @@ - + \ No newline at end of file diff --git a/Gems/StartingPointInput/Assets/Editor/Icons/Components/Viewport/InputConfig.png b/Gems/StartingPointInput/Assets/Editor/Icons/Components/Viewport/InputConfig.png deleted file mode 100644 index c9326e1b1c..0000000000 --- a/Gems/StartingPointInput/Assets/Editor/Icons/Components/Viewport/InputConfig.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:813eadfb69fc34cc3e837fd7739c326f2a6d19a8ea869e6063ecb944d68346df -size 4885 diff --git a/Gems/StartingPointInput/Assets/Editor/Icons/Components/Viewport/InputConfig.svg b/Gems/StartingPointInput/Assets/Editor/Icons/Components/Viewport/InputConfig.svg new file mode 100644 index 0000000000..8d428d288c --- /dev/null +++ b/Gems/StartingPointInput/Assets/Editor/Icons/Components/Viewport/InputConfig.svg @@ -0,0 +1,25 @@ + + + icon / Gameplay / Input - box + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Gems/StartingPointInput/Code/Source/InputConfigurationComponent.cpp b/Gems/StartingPointInput/Code/Source/InputConfigurationComponent.cpp index 36373c849d..6739a54ddd 100644 --- a/Gems/StartingPointInput/Code/Source/InputConfigurationComponent.cpp +++ b/Gems/StartingPointInput/Code/Source/InputConfigurationComponent.cpp @@ -52,7 +52,7 @@ namespace StartingPointInput ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Gameplay") ->Attribute(AZ::Edit::Attributes::Icon, "Editor/Icons/Components/InputConfig.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Editor/Icons/Components/Viewport/InputConfig.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Editor/Icons/Components/Viewport/InputConfig.svg") ->Attribute(AZ::Edit::Attributes::PrimaryAssetType, AZ::AzTypeInfo::Uuid()) ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game")) ->Attribute(AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/input/") diff --git a/Gems/SurfaceData/Assets/Editor/Icons/Components/SurfaceData.svg b/Gems/SurfaceData/Assets/Editor/Icons/Components/SurfaceData.svg index 090bacd5c1..6a24f9ce47 100644 --- a/Gems/SurfaceData/Assets/Editor/Icons/Components/SurfaceData.svg +++ b/Gems/SurfaceData/Assets/Editor/Icons/Components/SurfaceData.svg @@ -1,9 +1,10 @@ - icon / Environmental / Surface Data - Created with Sketch. - + + + + - + \ No newline at end of file diff --git a/Gems/SurfaceData/Assets/Editor/Icons/Components/Viewport/SurfaceData.png b/Gems/SurfaceData/Assets/Editor/Icons/Components/Viewport/SurfaceData.png deleted file mode 100644 index f1c6b4d5bf..0000000000 --- a/Gems/SurfaceData/Assets/Editor/Icons/Components/Viewport/SurfaceData.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:66dd1391fc262120cf8f065c86ccdb4444fad93976152635b8091862e3334d5a -size 1474 diff --git a/Gems/SurfaceData/Assets/Editor/Icons/Components/Viewport/SurfaceData.svg b/Gems/SurfaceData/Assets/Editor/Icons/Components/Viewport/SurfaceData.svg index 6771b1254d..94596eec1f 100644 --- a/Gems/SurfaceData/Assets/Editor/Icons/Components/Viewport/SurfaceData.svg +++ b/Gems/SurfaceData/Assets/Editor/Icons/Components/Viewport/SurfaceData.svg @@ -1,25 +1,28 @@ - - icon / Environmental / Surface Data Copy - Created with Sketch. + icon / Environmental / Surface Data - box - + - + - - - + + + + + - + + + + - + \ No newline at end of file diff --git a/Gems/Vegetation/Assets/Editor/Icons/Components/Viewport/Vegetation.png b/Gems/Vegetation/Assets/Editor/Icons/Components/Viewport/Vegetation.png deleted file mode 100644 index 74c1376807..0000000000 --- a/Gems/Vegetation/Assets/Editor/Icons/Components/Viewport/Vegetation.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bc4b5fcbb7fb3566735f08992c24d0b4b3d2f3b3bc32ab78b4220a9138256950 -size 1000 diff --git a/Gems/Vegetation/Assets/Editor/Icons/Components/Viewport/VegetationFilter.png b/Gems/Vegetation/Assets/Editor/Icons/Components/Viewport/VegetationFilter.png deleted file mode 100644 index f6116c3923..0000000000 --- a/Gems/Vegetation/Assets/Editor/Icons/Components/Viewport/VegetationFilter.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b628133c7332d34393377cd30f174c843a316be1fe945c2776e328eac6e1361 -size 1338 diff --git a/Gems/Vegetation/Assets/Editor/Icons/Components/Viewport/VegetationModifier.png b/Gems/Vegetation/Assets/Editor/Icons/Components/Viewport/VegetationModifier.png deleted file mode 100644 index 781cd7409c..0000000000 --- a/Gems/Vegetation/Assets/Editor/Icons/Components/Viewport/VegetationModifier.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0055b274117d53422c468bc20c9c2cfa86c267420849790f21474e09ad1b2b75 -size 1272 diff --git a/Gems/Vegetation/Code/Source/Debugger/EditorAreaDebugComponent.h b/Gems/Vegetation/Code/Source/Debugger/EditorAreaDebugComponent.h index 3517c3b6d4..1ca80fe2ab 100644 --- a/Gems/Vegetation/Code/Source/Debugger/EditorAreaDebugComponent.h +++ b/Gems/Vegetation/Code/Source/Debugger/EditorAreaDebugComponent.h @@ -25,7 +25,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Layer Debugger"; static constexpr const char* const s_componentDescription = "Enables debug visualizations for vegetation layers"; static constexpr const char* const s_icon = "Editor/Icons/Components/Vegetation.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; }; } diff --git a/Gems/Vegetation/Code/Source/Debugger/EditorDebugComponent.h b/Gems/Vegetation/Code/Source/Debugger/EditorDebugComponent.h index ff99a98d65..59af7abd4f 100644 --- a/Gems/Vegetation/Code/Source/Debugger/EditorDebugComponent.h +++ b/Gems/Vegetation/Code/Source/Debugger/EditorDebugComponent.h @@ -29,7 +29,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Debugger"; static constexpr const char* const s_componentDescription = ""; static constexpr const char* const s_icon = "Editor/Icons/Components/Vegetation.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; protected: diff --git a/Gems/Vegetation/Code/Source/Editor/EditorAreaBlenderComponent.h b/Gems/Vegetation/Code/Source/Editor/EditorAreaBlenderComponent.h index 98568eafc0..fa3eece228 100644 --- a/Gems/Vegetation/Code/Source/Editor/EditorAreaBlenderComponent.h +++ b/Gems/Vegetation/Code/Source/Editor/EditorAreaBlenderComponent.h @@ -32,7 +32,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Layer Blender"; static constexpr const char* const s_componentDescription = "Combines a collection of vegetation areas and applies them in a specified order"; static constexpr const char* const s_icon = "Editor/Icons/Components/Vegetation.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; private: diff --git a/Gems/Vegetation/Code/Source/Editor/EditorBlockerComponent.h b/Gems/Vegetation/Code/Source/Editor/EditorBlockerComponent.h index e2b4aa911d..f3c65343a3 100644 --- a/Gems/Vegetation/Code/Source/Editor/EditorBlockerComponent.h +++ b/Gems/Vegetation/Code/Source/Editor/EditorBlockerComponent.h @@ -27,7 +27,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Layer Blocker"; static constexpr const char* const s_componentDescription = "Defines an area in which dynamic vegetation cannot be placed"; static constexpr const char* const s_icon = "Editor/Icons/Components/Vegetation.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; }; } diff --git a/Gems/Vegetation/Code/Source/Editor/EditorDescriptorListCombinerComponent.h b/Gems/Vegetation/Code/Source/Editor/EditorDescriptorListCombinerComponent.h index 14a7681520..e69ee144ed 100644 --- a/Gems/Vegetation/Code/Source/Editor/EditorDescriptorListCombinerComponent.h +++ b/Gems/Vegetation/Code/Source/Editor/EditorDescriptorListCombinerComponent.h @@ -25,7 +25,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Asset List Combiner"; static constexpr const char* const s_componentDescription = "Provides a list of vegetation descriptor providers"; static constexpr const char* const s_icon = "Editor/Icons/Components/Vegetation.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; }; } diff --git a/Gems/Vegetation/Code/Source/Editor/EditorDescriptorListComponent.h b/Gems/Vegetation/Code/Source/Editor/EditorDescriptorListComponent.h index 011a974757..142cb4c0cf 100644 --- a/Gems/Vegetation/Code/Source/Editor/EditorDescriptorListComponent.h +++ b/Gems/Vegetation/Code/Source/Editor/EditorDescriptorListComponent.h @@ -31,7 +31,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Asset List"; static constexpr const char* const s_componentDescription = "Provides a set of vegetation descriptors"; static constexpr const char* const s_icon = "Editor/Icons/Components/Vegetation.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; private: diff --git a/Gems/Vegetation/Code/Source/Editor/EditorDescriptorWeightSelectorComponent.h b/Gems/Vegetation/Code/Source/Editor/EditorDescriptorWeightSelectorComponent.h index 554bb7bc23..ef5084e4a4 100644 --- a/Gems/Vegetation/Code/Source/Editor/EditorDescriptorWeightSelectorComponent.h +++ b/Gems/Vegetation/Code/Source/Editor/EditorDescriptorWeightSelectorComponent.h @@ -25,7 +25,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Asset Weight Selector"; static constexpr const char* const s_componentDescription = "Selects vegetation assets based on their weight"; static constexpr const char* const s_icon = "Editor/Icons/Components/Vegetation.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; }; } diff --git a/Gems/Vegetation/Code/Source/Editor/EditorDistanceBetweenFilterComponent.h b/Gems/Vegetation/Code/Source/Editor/EditorDistanceBetweenFilterComponent.h index 39ef5e493c..02204d290f 100644 --- a/Gems/Vegetation/Code/Source/Editor/EditorDistanceBetweenFilterComponent.h +++ b/Gems/Vegetation/Code/Source/Editor/EditorDistanceBetweenFilterComponent.h @@ -25,7 +25,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Distance Between Filter"; static constexpr const char* const s_componentDescription = "Defines the minimum distance required between vegetation instances"; static constexpr const char* const s_icon = "Editor/Icons/Components/VegetationFilter.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationFilter.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationFilter.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; }; } diff --git a/Gems/Vegetation/Code/Source/Editor/EditorDistributionFilterComponent.h b/Gems/Vegetation/Code/Source/Editor/EditorDistributionFilterComponent.h index eaa703e1ab..d9d895325f 100644 --- a/Gems/Vegetation/Code/Source/Editor/EditorDistributionFilterComponent.h +++ b/Gems/Vegetation/Code/Source/Editor/EditorDistributionFilterComponent.h @@ -25,7 +25,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Distribution Filter"; static constexpr const char* const s_componentDescription = "Limits vegetation to only place within the specified value ranges"; static constexpr const char* const s_icon = "Editor/Icons/Components/VegetationFilter.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationFilter.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationFilter.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; }; } diff --git a/Gems/Vegetation/Code/Source/Editor/EditorLevelSettingsComponent.h b/Gems/Vegetation/Code/Source/Editor/EditorLevelSettingsComponent.h index 4c7ba4818a..db9b99b27f 100644 --- a/Gems/Vegetation/Code/Source/Editor/EditorLevelSettingsComponent.h +++ b/Gems/Vegetation/Code/Source/Editor/EditorLevelSettingsComponent.h @@ -24,7 +24,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation System Settings"; static constexpr const char* const s_componentDescription = "The vegetation system settings for this level/map."; static constexpr const char* const s_icon = "Editor/Icons/Components/Vegetation.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; private: diff --git a/Gems/Vegetation/Code/Source/Editor/EditorMeshBlockerComponent.h b/Gems/Vegetation/Code/Source/Editor/EditorMeshBlockerComponent.h index af40846e1e..ad37ecaaa6 100644 --- a/Gems/Vegetation/Code/Source/Editor/EditorMeshBlockerComponent.h +++ b/Gems/Vegetation/Code/Source/Editor/EditorMeshBlockerComponent.h @@ -40,7 +40,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Layer Blocker (Mesh)"; static constexpr const char* const s_componentDescription = "Prevents vegetation from being placed in the mesh"; static constexpr const char* const s_icon = "Editor/Icons/Components/Vegetation.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; private: diff --git a/Gems/Vegetation/Code/Source/Editor/EditorPositionModifierComponent.h b/Gems/Vegetation/Code/Source/Editor/EditorPositionModifierComponent.h index 3809753764..cab8ebebfe 100644 --- a/Gems/Vegetation/Code/Source/Editor/EditorPositionModifierComponent.h +++ b/Gems/Vegetation/Code/Source/Editor/EditorPositionModifierComponent.h @@ -29,7 +29,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Position Modifier"; static constexpr const char* const s_componentDescription = "Offsets the position of the vegetation"; static constexpr const char* const s_icon = "Editor/Icons/Components/VegetationModifier.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationModifier.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationModifier.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; }; } diff --git a/Gems/Vegetation/Code/Source/Editor/EditorReferenceShapeComponent.h b/Gems/Vegetation/Code/Source/Editor/EditorReferenceShapeComponent.h index 9eb74f25aa..d0f9bf1ea0 100644 --- a/Gems/Vegetation/Code/Source/Editor/EditorReferenceShapeComponent.h +++ b/Gems/Vegetation/Code/Source/Editor/EditorReferenceShapeComponent.h @@ -25,7 +25,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Reference Shape"; static constexpr const char* const s_componentDescription = "Enables the entity to reference and reuse shape entities"; static constexpr const char* const s_icon = "Editor/Icons/Components/Vegetation.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; }; } diff --git a/Gems/Vegetation/Code/Source/Editor/EditorRotationModifierComponent.h b/Gems/Vegetation/Code/Source/Editor/EditorRotationModifierComponent.h index c470d1e021..709bbbbeb0 100644 --- a/Gems/Vegetation/Code/Source/Editor/EditorRotationModifierComponent.h +++ b/Gems/Vegetation/Code/Source/Editor/EditorRotationModifierComponent.h @@ -30,7 +30,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Rotation Modifier"; static constexpr const char* const s_componentDescription = "Offsets the rotation of the vegetation"; static constexpr const char* const s_icon = "Editor/Icons/Components/VegetationModifier.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationModifier.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationModifier.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; }; } diff --git a/Gems/Vegetation/Code/Source/Editor/EditorShapeIntersectionFilterComponent.h b/Gems/Vegetation/Code/Source/Editor/EditorShapeIntersectionFilterComponent.h index c6f79c0b09..325594cf82 100644 --- a/Gems/Vegetation/Code/Source/Editor/EditorShapeIntersectionFilterComponent.h +++ b/Gems/Vegetation/Code/Source/Editor/EditorShapeIntersectionFilterComponent.h @@ -25,7 +25,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Shape Intersection Filter"; static constexpr const char* const s_componentDescription = "Enable or disable placing vegetation if the entity intersects a shape"; static constexpr const char* const s_icon = "Editor/Icons/Components/VegetationFilter.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationFilter.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationFilter.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; }; } diff --git a/Gems/Vegetation/Code/Source/Editor/EditorSlopeAlignmentModifierComponent.h b/Gems/Vegetation/Code/Source/Editor/EditorSlopeAlignmentModifierComponent.h index f565a84ce7..887e24467c 100644 --- a/Gems/Vegetation/Code/Source/Editor/EditorSlopeAlignmentModifierComponent.h +++ b/Gems/Vegetation/Code/Source/Editor/EditorSlopeAlignmentModifierComponent.h @@ -25,7 +25,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Slope Alignment Modifier"; static constexpr const char* const s_componentDescription = "Offsets the orientation of the vegetation relative to a surface angle"; static constexpr const char* const s_icon = "Editor/Icons/Components/VegetationModifier.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationModifier.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationModifier.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; }; } diff --git a/Gems/Vegetation/Code/Source/Editor/EditorSpawnerComponent.h b/Gems/Vegetation/Code/Source/Editor/EditorSpawnerComponent.h index 13a24d7c83..709b645ea2 100644 --- a/Gems/Vegetation/Code/Source/Editor/EditorSpawnerComponent.h +++ b/Gems/Vegetation/Code/Source/Editor/EditorSpawnerComponent.h @@ -28,7 +28,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Layer Spawner"; static constexpr const char* const s_componentDescription = "Creates dynamic vegetation in a specified area"; static constexpr const char* const s_icon = "Editor/Icons/Components/Vegetation.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Vegetation.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/vegetation-layer-spawner/"; }; } diff --git a/Gems/Vegetation/Code/Source/Editor/EditorSurfaceAltitudeFilterComponent.h b/Gems/Vegetation/Code/Source/Editor/EditorSurfaceAltitudeFilterComponent.h index 22f60167ac..7b49b602af 100644 --- a/Gems/Vegetation/Code/Source/Editor/EditorSurfaceAltitudeFilterComponent.h +++ b/Gems/Vegetation/Code/Source/Editor/EditorSurfaceAltitudeFilterComponent.h @@ -26,7 +26,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Altitude Filter"; static constexpr const char* const s_componentDescription = "Limits vegetation to only place within the specified height range"; static constexpr const char* const s_icon = "Editor/Icons/Components/VegetationFilter.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationFilter.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationFilter.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; AZ::u32 ConfigurationChanged() override; diff --git a/Gems/Vegetation/Code/Source/Editor/EditorSurfaceMaskDepthFilterComponent.h b/Gems/Vegetation/Code/Source/Editor/EditorSurfaceMaskDepthFilterComponent.h index 2599450a11..1a64203a4b 100644 --- a/Gems/Vegetation/Code/Source/Editor/EditorSurfaceMaskDepthFilterComponent.h +++ b/Gems/Vegetation/Code/Source/Editor/EditorSurfaceMaskDepthFilterComponent.h @@ -25,7 +25,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Surface Mask Depth Filter"; static constexpr const char* const s_componentDescription = "Limits vegetation to only place within a specified depth between two surface tags"; static constexpr const char* const s_icon = "Editor/Icons/Components/VegetationFilter.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationFilter.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationFilter.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; }; } diff --git a/Gems/Vegetation/Code/Source/Editor/EditorSurfaceMaskFilterComponent.h b/Gems/Vegetation/Code/Source/Editor/EditorSurfaceMaskFilterComponent.h index 3ba386d19b..9657ff5daf 100644 --- a/Gems/Vegetation/Code/Source/Editor/EditorSurfaceMaskFilterComponent.h +++ b/Gems/Vegetation/Code/Source/Editor/EditorSurfaceMaskFilterComponent.h @@ -25,7 +25,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Surface Mask Filter"; static constexpr const char* const s_componentDescription = "Filters out vegetation based on surface mask-to-tag mappings"; static constexpr const char* const s_icon = "Editor/Icons/Components/VegetationFilter.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationFilter.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationFilter.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; }; } diff --git a/Gems/Vegetation/Code/Source/Editor/EditorSurfaceSlopeFilterComponent.h b/Gems/Vegetation/Code/Source/Editor/EditorSurfaceSlopeFilterComponent.h index 4261d225ef..667c0999fb 100644 --- a/Gems/Vegetation/Code/Source/Editor/EditorSurfaceSlopeFilterComponent.h +++ b/Gems/Vegetation/Code/Source/Editor/EditorSurfaceSlopeFilterComponent.h @@ -25,7 +25,7 @@ namespace Vegetation static constexpr const char* const s_componentName = "Vegetation Slope Filter"; static constexpr const char* const s_componentDescription = "Limits vegetation to only place within the specified surface angles"; static constexpr const char* const s_icon = "Editor/Icons/Components/VegetationFilter.svg"; - static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationFilter.png"; + static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationFilter.svg"; static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/"; }; } diff --git a/Gems/WhiteBox/Assets/editor/icons/components/Viewport/WhiteBox.png b/Gems/WhiteBox/Assets/editor/icons/components/Viewport/WhiteBox.png deleted file mode 100644 index 14860438d4..0000000000 --- a/Gems/WhiteBox/Assets/editor/icons/components/Viewport/WhiteBox.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:844954b55c99dd11696a5b6dc463c1fd767a0670f29d655d10ebf65e4f0262d1 -size 5361 diff --git a/Gems/WhiteBox/Assets/editor/icons/components/Viewport/WhiteBox_collider.png b/Gems/WhiteBox/Assets/editor/icons/components/Viewport/WhiteBox_collider.png deleted file mode 100644 index e301528886..0000000000 --- a/Gems/WhiteBox/Assets/editor/icons/components/Viewport/WhiteBox_collider.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a63c1f37de351cb90510bf1447a87e0bcfc6eaf687b7495cb4e1c46f2ccb2aa3 -size 5785 diff --git a/Gems/WhiteBox/Assets/editor/icons/components/Viewport/Whitebox.svg b/Gems/WhiteBox/Assets/editor/icons/components/Viewport/Whitebox.svg new file mode 100644 index 0000000000..28c38af5d7 --- /dev/null +++ b/Gems/WhiteBox/Assets/editor/icons/components/Viewport/Whitebox.svg @@ -0,0 +1,34 @@ + + + icon / Shapes / Whitebox - box + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Gems/WhiteBox/Assets/editor/icons/components/Viewport/WhiteboxCollider.svg b/Gems/WhiteBox/Assets/editor/icons/components/Viewport/WhiteboxCollider.svg new file mode 100644 index 0000000000..89be3653ba --- /dev/null +++ b/Gems/WhiteBox/Assets/editor/icons/components/Viewport/WhiteboxCollider.svg @@ -0,0 +1,37 @@ + + + icon / Shapes / WhiteboxCollider - box + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Gems/WhiteBox/Code/Source/EditorWhiteBoxComponent.cpp b/Gems/WhiteBox/Code/Source/EditorWhiteBoxComponent.cpp index 4be54967e6..5448c5c123 100644 --- a/Gems/WhiteBox/Code/Source/EditorWhiteBoxComponent.cpp +++ b/Gems/WhiteBox/Code/Source/EditorWhiteBoxComponent.cpp @@ -193,7 +193,7 @@ namespace WhiteBox ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::Category, "Shape") ->Attribute(AZ::Edit::Attributes::Icon, "Editor/Icons/Components/WhiteBox.svg") - ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Editor/Icons/Components/Viewport/WhiteBox.png") + ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Editor/Icons/Components/Viewport/WhiteBox.svg") ->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c)) ->Attribute( AZ::Edit::Attributes::HelpPageURL, "https://o3de.org/docs/user-guide/components/reference/white-box/") diff --git a/cmake/Platform/Common/Configurations_common.cmake b/cmake/Platform/Common/Configurations_common.cmake index 6ec788994c..15f7344958 100644 --- a/cmake/Platform/Common/Configurations_common.cmake +++ b/cmake/Platform/Common/Configurations_common.cmake @@ -47,3 +47,18 @@ ly_append_configurations_options( NDEBUG AZ_BUILD_CONFIGURATION_TYPE="${LY_BUILD_CONFIGURATION_TYPE_RELEASE}" ) + +# Ninja: parallel compile and link pool settings +if(CMAKE_GENERATOR MATCHES "Ninja") + set(LY_PARALLEL_COMPILE_JOBS "" CACHE STRING "Number of compile jobs to use (Defaults to not set)") + set(LY_PARALLEL_LINK_JOBS "" CACHE STRING "Number of link jobs to use (Defaults to not set)") + + if(LY_PARALLEL_COMPILE_JOBS) + set_property(GLOBAL APPEND PROPERTY JOB_POOLS compile_job_pool=${LY_PARALLEL_COMPILE_JOBS}) + ly_set(CMAKE_JOB_POOL_COMPILE compile_job_pool) + endif() + if(LY_PARALLEL_LINK_JOBS) + set_property(GLOBAL APPEND PROPERTY JOB_POOLS link_job_pool=${LY_PARALLEL_LINK_JOBS}) + ly_set(CMAKE_JOB_POOL_LINK link_job_pool) + endif() +endif() diff --git a/cmake/Platform/Linux/Configurations_linux.cmake b/cmake/Platform/Linux/Configurations_linux.cmake index c4a98a4bec..7da0cf188f 100644 --- a/cmake/Platform/Linux/Configurations_linux.cmake +++ b/cmake/Platform/Linux/Configurations_linux.cmake @@ -29,10 +29,3 @@ endif() ly_set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) ly_set(CMAKE_INSTALL_RPATH_USE_LINK_PATH FALSE) ly_set(CMAKE_INSTALL_RPATH "$ORIGIN") - -if(CMAKE_GENERATOR MATCHES "Ninja") - if(LY_PARALLEL_LINK_JOBS) - set_property(GLOBAL APPEND PROPERTY JOB_POOLS link_job_pool=${LY_PARALLEL_LINK_JOBS}) - ly_set(CMAKE_JOB_POOL_LINK link_job_pool) - endif() -endif()