Open 3D Engine StartingPointCamera 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::FaceTarget Class Reference

This behavior will cause the camera to rotate to face the target. More...

#include <FaceTarget.h>

Inherits ICameraTransformBehavior.

Public Member Functions

 AZ_CLASS_ALLOCATOR (FaceTarget, AZ::SystemAllocator)
 
void AdjustCameraTransform (float deltaTime, const AZ::Transform &initialCameraTransform, const AZ::Transform &targetTransform, AZ::Transform &inOutCameraTransform) override
 
void Activate (AZ::EntityId) override
 
void Deactivate () override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *reflection)
 

Detailed Description

This behavior will cause the camera to rotate to face the target.


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