Inherits AzToolsFramework::Components::EditorComponentBase, AzToolsFramework::EditorVisibilityNotificationBus::Handler, LmbrCentral::DependencyNotificationBus::Handler, AzFramework::PaintBrushNotificationBus::Handler, and TerrainMacroMaterialNotificationBus::Handler.
|
| AZ_EDITOR_COMPONENT_INTRUSIVE_DESCRIPTOR_TYPE (EditorTerrainMacroMaterialComponent) |
|
| AZ_COMPONENT_BASE (EditorTerrainMacroMaterialComponent) |
|
void | Init () override |
| Component overrides ...
|
|
void | Activate () override |
|
void | Deactivate () override |
|
void | BuildGameEntity (AZ::Entity *gameEntity) override |
|
void | OnEntityVisibilityChanged (bool visibility) override |
|
void | OnCompositionChanged () override |
|
void | OnCompositionRegionChanged (const AZ::Aabb &dirtyRegion) override |
|
|
static void | Reflect (AZ::ReflectContext *context) |
|
static void | GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &services) |
|
static void | GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &services) |
|
static void | GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &services) |
|
static void | GetDependentServices (AZ::ComponentDescriptor::DependencyArrayType &services) |
|
|
static constexpr const char *const | s_categoryName = "Terrain" |
|
static constexpr const char *const | s_componentName = "Terrain Macro Material" |
|
static constexpr const char *const | s_componentDescription = "Provides a macro material for a region to the terrain renderer" |
|
static constexpr const char *const | s_icon = "Editor/Icons/Components/TerrainMacroMaterial.svg" |
|
static constexpr const char *const | s_viewportIcon = "Editor/Icons/Components/Viewport/TerrainMacroMaterial.svg" |
|
static constexpr const char *const | s_helpUrl = "" |
|
|
void | OnTerrainMacroMaterialCreated (AZ::EntityId macroMaterialEntity, const MacroMaterialData ¯oMaterial) override |
|
void | OnTerrainMacroMaterialChanged (AZ::EntityId macroMaterialEntity, const MacroMaterialData ¯oMaterial) override |
|
void | OnTerrainMacroMaterialDestroyed (AZ::EntityId macroMaterialEntity) override |
|
bool | SavePaintedData () |
|
void | OnPaintModeBegin () override |
|
void | OnPaintModeEnd () override |
|
void | OnBrushStrokeBegin (const AZ::Color &color) override |
|
void | OnBrushStrokeEnd () override |
|
void | OnPaint (const AZ::Color &color, const AZ::Aabb &dirtyArea, ValueLookupFn &valueLookupFn, BlendFn &blendFn) override |
|
void | OnSmooth (const AZ::Color &color, const AZ::Aabb &dirtyArea, ValueLookupFn &valueLookupFn, AZStd::span< const AZ::Vector3 > valuePointOffsets, SmoothFn &smoothFn) override |
|
AZ::Color | OnGetColor (const AZ::Vector3 &brushCenter) const override |
|
AZStd::vector< uint8_t > | ConvertLinearToSrgbGamma (AZStd::span< const uint32_t > pixelBuffer) const |
|
void | RefreshPaintableAssetStatus () |
|
AZ::u32 | ConfigurationChanged () |
|
The documentation for this class was generated from the following file:
- Gems/Terrain/Code/Source/TerrainRenderer/EditorComponents/EditorTerrainMacroMaterialComponent.h