Open 3D Engine AtomLyIntegration Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Render::EditorMeshComponent Class Referencefinal

#include <EditorMeshComponent.h>

Inherits EditorRenderComponentAdapter< MeshComponentController, MeshComponent, MeshComponentConfig >, AzToolsFramework::EditorComponentSelectionRequestsBus::Handler, AzFramework::EntityDebugDisplayEventBus::Handler, and AZ::Render::MeshComponentNotificationBus::Handler.

Public Types

using BaseClass = EditorRenderComponentAdapter< MeshComponentController, MeshComponent, MeshComponentConfig >
 

Public Member Functions

 AZ_EDITOR_COMPONENT (AZ::Render::EditorMeshComponent, EditorMeshComponentTypeId, BaseClass)
 
 EditorMeshComponent (const MeshComponentConfig &config)
 
void Activate () override
 
void Deactivate () override
 
void SetPrimaryAsset (const AZ::Data::AssetId &assetId) override
 Called when you want to change the game asset through code (like when creating components based on assets).
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Detailed Description

In-editor mesh component. Conducts some additional listening and operations to ensure immediate effects when changing fields in the editor.


The documentation for this class was generated from the following file: