Monitor
This component belongs to the following package:
- com.yahaha.sdk.graphics
Description
The Monitor component manages the camera settings and visual elements within the game. It allows for adjustments to the field of view, rendering distances, and viewport size. Additionally, users can customize icons and colors for various in-game elements.
Properties
Attributes | Description |
---|---|
FOV | Adjusts the camera's field of view to manipulate the breadth of the scene visible to the player, enhancing the perception of depth and space. |
Near | Sets the minimum distance from the camera at which objects start rendering, helping to optimize performance by excluding very close objects from the rendering process. |
Far | Defines the maximum render distance from the camera, beyond which objects will not be visible, crucial for managing rendering load and scene clarity. |
Render Shadows | Enables or disables the rendering of shadows in the scene, adding visual realism and depth to objects and environments. Disabled by default. |
Camera Icon | Specifies the icon used to represent the camera in various UI elements, helping users identify camera controls or settings easily. |
View Size | Sets the size of the viewport for the camera, affecting how much of the game world is visible on the screen at any one time. |
Camera Height | Adjusts the vertical positioning of the camera relative to the game world. |
Player Color | Assigns a specific color to the player's representation on any game-related displays. |
Player Icon | Chooses an icon to visually represent the player in various interfaces. |
Labeled Color | Specifies the color used for labeling in-game elements. |
Labeled Icon | Defines the icons used alongside labels for easier recognition. |
Items | Manages the display of monsters or enemy items within the game. |