IFlexiCamInterface
This interface standardizes how actors expose their FlexiCam camera mode manager component, enabling camera mode triggers and systems to query and control the camera modes in a consistent way without tight coupling.
Functions
GetFlexiCameraModeManagerComponent: Provides access to the actor's associatedFlexiCameraModeManagerComponent. Must be implemented by the actor class or Blueprint
UFlexiCameraModeManagerComponent* GetFlexiCameraModeManagerComponent() const;
Usage
To use this interface:
- Implement
IFlexiCamInterfacein your actor or pawn classes. - Provide the actual
UFlexiCameraModeManagerComponentinstance inGetFlexiCameraModeManagerComponent. - Other systems (e.g., camera mode triggers) query this function to manipulate camera modes dynamically during gameplay.