Open 3D Engine Terrain Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Inherits AzToolsFramework::Components::EditorComponentBase, AzToolsFramework::EditorVisibilityNotificationBus::Handler, LmbrCentral::DependencyNotificationBus::Handler, AzFramework::PaintBrushNotificationBus::Handler, and TerrainMacroMaterialNotificationBus::Handler.
Public Member Functions | |
AZ_EDITOR_COMPONENT_INTRUSIVE_DESCRIPTOR_TYPE (EditorTerrainMacroMaterialComponent) | |
AZ_COMPONENT_BASE (EditorTerrainMacroMaterialComponent) | |
AZ_CLASS_ALLOCATOR (EditorTerrainMacroMaterialComponent, AZ::ComponentAllocator) | |
AZ_RTTI_NO_TYPE_INFO_DECL () | |
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 |
Protected Member Functions | |
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 () |