Open 3D Engine CameraFramework 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.
Camera::ICameraTransformBehavior Class Referenceabstract

#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
 

Detailed Description

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


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