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::AttachmentConfiguration Struct Reference

#include <AttachmentComponent.h>

Public Types

enum class  ScaleSource : AZ::u8 { WorldScale , TargetEntityScale , TargetBoneScale }
 Source from which to retrieve scale information.
 

Public Member Functions

 AZ_TYPE_INFO (AttachmentConfiguration, "{74B5DC69-DE44-4640-836A-55339E116795}")
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

AZ::EntityId m_targetId
 Attach to this entity.
 
AZStd::string m_targetBoneName
 Attach to this bone on target entity.
 
AZ::Transform m_targetOffset = AZ::Transform::Identity()
 Offset from target.
 
bool m_attachedInitially = true
 
ScaleSource m_scaleSource = ScaleSource::WorldScale
 

Detailed Description

Configuration data for AttachmentComponent.

Member Data Documentation

◆ m_attachedInitially

bool AZ::Render::AttachmentConfiguration::m_attachedInitially = true

Whether to attach to target upon activation. If false, the entity remains detached until Attach() is called.


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