Open 3D Engine GraphCanvas 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.
GraphCanvas::GeometryComponent Class Reference

A component that gives a visual coordinates. More...

#include <GeometryComponent.h>

Inherits AZ::Component, GeometryRequestBus::Handler, VisualNotificationBus::Handler, SceneMemberNotificationBus::Handler, and EntitySaveDataRequestBus::Handler.

Public Member Functions

 AZ_COMPONENT (GeometryComponent, "{DFD3FDE1-9856-41C9-AEF1-DD5B647A2B92}")
 
void Init () override
 
void Activate () override
 
void Deactivate () override
 
void OnSceneSet (const AZ::EntityId &scene) override
 
AZ::Vector2 GetPosition () const override
 
void SetPosition (const AZ::Vector2 &position) override
 
void SignalBoundsChanged () override
 
void SetIsPositionAnimating (bool animating) override
 
void SetAnimationTarget (const AZ::Vector2 &targetPoint) override
 
void OnItemChange (const AZ::EntityId &entityId, QGraphicsItem::GraphicsItemChange, const QVariant &) override
 
void WriteSaveData (EntitySaveDataContainer &saveDataContainer) const override
 
void ReadSaveData (const EntitySaveDataContainer &saveDataContainer) override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *)
 
static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 
static void GetDependentServices (AZ::ComponentDescriptor::DependencyArrayType &dependent)
 
static void GetRequiredServices ([[maybe_unused]] AZ::ComponentDescriptor::DependencyArrayType &required)
 

Static Public Attributes

static const float IS_CLOSE_TOLERANCE
 

Detailed Description

A component that gives a visual coordinates.


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