Open 3D Engine AzCore 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.
TransformBus.h File Reference
#include <AzCore/Component/ComponentBus.h>
#include <AzCore/Math/InterpolationSample.h>
#include <AzCore/Math/Transform.h>
#include <AzCore/EBus/Event.h>

Classes

class  AZ::TransformInterface
 
class  AZ::TransformNotification
 
class  AZ::TransformConfig
 Component configuration for the transform component. More...
 

Namespaces

namespace  AZ
 Reopen namespace to define DataPatch class.
 

Typedefs

using AZ::TransformChangedEvent = Event< const Transform &, const Transform & >
 
using AZ::ParentChangedEvent = Event< EntityId, EntityId >
 
using AZ::ChildChangedEvent = Event< ChildChangeType, EntityId >
 
using AZ::TransformBus = AZ::EBus< TransformInterface >
 
using AZ::TransformNotificationBus = AZ::EBus< TransformNotification >
 

Enumerations

enum class  ChildChangeType { Added , Removed }
 
enum class  AZ::OnParentChangedBehavior : AZ::u8 { AZ::Update , AZ::DoNotUpdate }
 Used to control the behavior of an entity's transform when its parent's transform changes at runtime. More...
 

Functions

 AZ::AZ_TYPE_INFO_SPECIALIZE (TransformConfig::ParentActivationTransformMode, "{03FD8A24-CE8F-4651-A3CC-09F40D36BC2C}")
 
 DECLARE_EBUS_EXTERN (TransformInterface)
 
 DECLARE_EBUS_EXTERN (TransformNotification)
 
 DECLARE_EBUS_EXTERN (TransformHierarchyInformation)
 

Variables

static constexpr TypeId AZ::TransformComponentTypeId { AZStd::string_view("{22B10178-39B6-4C12-BB37-77DB45FDD3B6}") }
 The typeId of game component AzFramework::TransformComponent.
 
static constexpr TypeId AZ::EditorTransformComponentTypeId { AZStd::string_view("{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0}") }
 The typeId of editor component AzToolsFramework::Components::TransformComponent.
 

Detailed Description

Header file for buses that dispatch and receive events related to positioning, rotating, scaling, and parenting an entity.