Adds Light component tests (non-GPU portion) to AutomatedTesting from AtomTest (#2758)
* Fixed Vegetation Layer Spawner documentation link. Signed-off-by: Chris Galvan <chgalvan@amazon.com> Signed-off-by: jromnoa <jromnoa@amazon.com> * add remaining non-GPU test portions for Light component test Signed-off-by: jromnoa <jromnoa@amazon.com> * make non-GPU light component test more robust Signed-off-by: jromnoa <jromnoa@amazon.com> * remove redundant logging, convert LIGHT_TYPES from list to dict, remove redundant f-string Signed-off-by: jromnoa <jromnoa@amazon.com> Co-authored-by: Chris Galvan <chgalvan@amazon.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
"""
|
||||
Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
|
||||
SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
|
||||
File to assist with common hydra component functions or constants used across various Atom tests.
|
||||
"""
|
||||
|
||||
# Light type options for the Light component.
|
||||
LIGHT_TYPES = {
|
||||
'unknown': 0,
|
||||
'sphere': 1,
|
||||
'spot_disk': 2,
|
||||
'capsule': 3,
|
||||
'quad': 4,
|
||||
'polygon': 5,
|
||||
'simple_point': 6,
|
||||
'simple_spot': 7,
|
||||
}
|
||||
Reference in New Issue
Block a user