Description
The UseFovFromPreferences
property of the PlayerController
class determines whether the field of view (FOV) for the player's camera should be automatically set based on the player's preferences. This can be useful for ensuring a consistent user experience by aligning the in-game camera settings with the player's personal settings or preferences.
Usage
To use the UseFovFromPreferences
property, simply set it to true
if you want the player's camera FOV to be determined by their preferences. Set it to false
if you want to manually control the FOV settings within the game logic.
Example
// Example of setting the UseFovFromPreferences property
PlayerController playerController = new PlayerController();
// Enable using FOV from player preferences
playerController.UseFovFromPreferences = true;
// Disable using FOV from player preferences
playerController.UseFovFromPreferences = false;