Inherits AzToolsFramework::Components::EditorComponentBase, Maestro::EditorSequenceComponentRequestBus::Handler, Maestro::SequenceComponentRequestBus::Handler, and AZ::TickBus::Handler.
|
using | AnimatablePropertyAddress = Maestro::SequenceComponentRequests::AnimatablePropertyAddress |
|
using | AnimatedValue = Maestro::SequenceComponentRequests::AnimatedValue |
|
|
| AZ_EDITOR_COMPONENT (EditorSequenceComponent, EditorSequenceComponentTypeId) |
|
void | Init () override |
|
void | Activate () override |
|
void | Deactivate () override |
|
void | GetAllAnimatablePropertiesForComponent (IAnimNode::AnimParamInfos &addressList, AZ::EntityId id, AZ::ComponentId componentId) override |
|
void | GetAnimatableComponents (AZStd::vector< AZ::ComponentId > &componentIds, AZ::EntityId id) override |
|
void | AddEntityToAnimate (AZ::EntityId entityToAnimate) override |
|
void | RemoveEntityToAnimate (AZ::EntityId removedEntityId) override |
|
bool | MarkEntityAsDirty () const override |
|
AnimValueType | GetValueType (const AZStd::string &animatableAddress) override |
|
void | GetAnimatedPropertyValue (AnimatedValue &returnValue, const AZ::EntityId &animatedEntityId, const AnimatablePropertyAddress &animatableAddress) override |
|
bool | SetAnimatedPropertyValue (const AZ::EntityId &animatedEntityId, const AnimatablePropertyAddress &animatableAddress, const AnimatedValue &value) override |
|
AZ::Uuid | GetAnimatedAddressTypeId (const AZ::EntityId &animatedEntityId, const Maestro::SequenceComponentRequests::AnimatablePropertyAddress &animatableAddress) override |
|
void | GetAssetDuration (AnimatedValue &returnValue, const AZ::EntityId &animatedEntityId, AZ::ComponentId componentId, const AZ::Data::AssetId &assetId) override |
|
void | OnTick (float deltaTime, AZ::ScriptTimePoint time) override |
|
IAnimSequence * | GetSequence () |
|
|
void | BuildGameEntity (AZ::Entity *gameEntity) override |
|
|
static void | GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided) |
|
static void | GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible) |
|
static void | Reflect (AZ::ReflectContext *context) |
|
◆ GetAnimatedPropertyValue()
void Maestro::EditorSequenceComponent::GetAnimatedPropertyValue |
( |
AnimatedValue & |
returnValue, |
|
|
const AZ::EntityId & |
animatedEntityId, |
|
|
const AnimatablePropertyAddress & |
animatableAddress |
|
) |
| |
|
override |
Get the current value for a property
- Parameters
-
returnValue | holds the value to get - this must be instance of one of the concrete subclasses of AnimatedValue, corresponding to the type of the property referenced by the animatedAdresss |
animatedEntityId | the entity Id of the entity containing the animatedAddress |
animatedAddress | identifies the component and property to be set |
◆ SetAnimatedPropertyValue()
bool Maestro::EditorSequenceComponent::SetAnimatedPropertyValue |
( |
const AZ::EntityId & |
animatedEntityId, |
|
|
const AnimatablePropertyAddress & |
animatableAddress, |
|
|
const AnimatedValue & |
value |
|
) |
| |
|
override |
Set a value for an animated property at the given address on the given entity.
- Parameters
-
animatedEntityId | the entity Id of the entity containing the animatedAddress |
animatedAddress | identifies the component and property to be set |
value | the value to set - this must be instance of one of the concrete subclasses of AnimatedValue, corresponding to the type of the property referenced by the animatedAdresss |
- Returns
- true if the value was changed.
The documentation for this class was generated from the following file:
- Gems/Maestro/Code/Source/Components/EditorSequenceComponent.h