Inherits AZ::Component, and Maestro::SequenceComponentRequestBus::Handler.
|
| AZ_COMPONENT (SequenceComponent, "{027CE988-CF48-4589-A73A-73CD8D02F783}") |
|
void | Init () override |
|
void | Activate () override |
|
void | Deactivate () override |
|
bool | SetAnimatedPropertyValue (const AZ::EntityId &animatedEntityId, const AnimatablePropertyAddress &animatableAddress, const AnimatedValue &value) override |
|
void | GetAnimatedPropertyValue (AnimatedValue &returnValue, const AZ::EntityId &animatedEntityId, const AnimatablePropertyAddress &animatableAddress) 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 | Play () override |
|
void | PlayBetweenTimes (float startTime, float endTime) override |
|
void | Stop () override |
|
void | Pause () override |
|
void | Resume () override |
|
void | SetPlaySpeed (float newSpeed) override |
|
void | JumpToTime (float newTime) override |
|
void | JumpToEnd () override |
|
void | JumpToBeginning () override |
|
float | GetCurrentPlayTime () override |
|
float | GetPlaySpeed () override |
|
|
static void | GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided) |
|
static void | GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible) |
|
static void | Reflect (AZ::ReflectContext *context) |
|
|
class | EditorSequenceComponent |
|
◆ GetAnimatedPropertyValue()
void Maestro::SequenceComponent::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 |
◆ GetAssetDuration()
void Maestro::SequenceComponent::GetAssetDuration |
( |
AnimatedValue & |
returnValue, |
|
|
const AZ::EntityId & |
animatedEntityId, |
|
|
AZ::ComponentId |
componentId, |
|
|
const AZ::Data::AssetId & |
assetId |
|
) |
| |
|
override |
Track View will expect some components (those using AZ::Data::AssetBlends as a virtual property) to supply a GetAssetDuration event so Track View can query the duration of an asset (like a motion) without having any knowledge of that that asset is.
◆ SetAnimatedPropertyValue()
bool Maestro::SequenceComponent::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/SequenceComponent.h