#include <AttachmentComponent.h>
|
enum class | ScaleSource : AZ::u8 { WorldScale
, TargetEntityScale
, TargetBoneScale
} |
| Source from which to retrieve scale information.
|
|
|
static void | Reflect (AZ::ReflectContext *context) |
|
|
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 |
|
Configuration data for AttachmentComponent.
◆ 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:
- Gems/AtomLyIntegration/CommonFeatures/Code/Source/Animation/AttachmentComponent.h