-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #534 from o3de/stabilization/2210
Merge stabilization/2210 into main Signed-off-by: Alex Peterson <26804013+AMZN-alexpete@users.noreply.github.com>
- Loading branch information
Showing
292 changed files
with
2,163 additions
and
1,734 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* Copyright (c) Contributors to the Open 3D Engine Project. | ||
* For complete copyright and license terms please see the LICENSE at the root of this distribution. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 OR MIT | ||
* | ||
*/ | ||
|
||
#include <AtomSampleComponent.h> | ||
|
||
namespace AtomSampleViewer | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
* Copyright (c) Contributors to the Open 3D Engine Project. | ||
* For complete copyright and license terms please see the LICENSE at the root of this distribution. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 OR MIT | ||
* | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <AzCore/Component/Component.h> | ||
|
||
namespace AtomSampleViewer | ||
{ | ||
class AtomSampleComponent | ||
: public AZ::Component | ||
{ | ||
public: | ||
AZ_RTTI(AtomSampleComponent, "{2318DFD6-BC6B-4335-9F25-8E270A10CA81}", AZ::Component); | ||
|
||
AtomSampleComponent() = default; | ||
~AtomSampleComponent() override = default; | ||
|
||
// Redefine this string in the sample component subclass to provide a sample-specific warning message. | ||
// Any non-empty string will automatically cause a warning message to be displayed before opening the sample. | ||
static constexpr const char* ContentWarning = ""; | ||
|
||
// If the above ContentWarning is overridden with a non-empty value, this string will be used as the message box's title. | ||
// Redefine this string in the sample component subclass to provide a custom title. | ||
static constexpr const char* ContentWarningTitle = "Content Warning"; | ||
|
||
// This is a common photosensitive/seizure warning that could be used for the above ContentWarning in specific samples as needed. | ||
static constexpr const char CommonPhotosensitiveWarning[] = "This sample includes flashing images that could cause seizures or other adverse effects in photosensitive individuals."; | ||
static constexpr const char CommonPhotosensitiveWarningTitle[] = "Photosensitive Seizure Warning"; | ||
}; | ||
} // namespace AtomSampleViewer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.