#include <ICameraTransformBehavior.h>
Inherits Camera::ICameraSubComponent.
Public Member Functions | |
AZ_RTTI (ICameraTransformBehavior, "{6FCA64C8-6CA5-4CEA-B10F-BB5ED3FB6561}", ICameraSubComponent) | |
virtual void | AdjustCameraTransform (float deltaTime, const AZ::Transform &initialCameraTransform, const AZ::Transform &targetTransform, AZ::Transform &outCameraTransform)=0 |
Adjust the camera's final transform in outCameraTransform using the target's transform, the camera's initial transform and the time that's passed since the last call. | |
Public Member Functions inherited from Camera::ICameraSubComponent | |
AZ_RTTI (ICameraSubComponent, "{5AB43B64-941E-493F-870F-DE313E4D11A0}") | |
virtual void | Init () |
virtual void | Activate (AZ::EntityId)=0 |
virtual void | Deactivate ()=0 |
This class represents the behavior that will change the cameras transform based on the target. An example would be a behavior that follows the target from above