Uses of Class
engine.entities.Camera
Packages that use Camera
-
Uses of Camera in engine.renderEngine
Methods in engine.renderEngine with parameters of type Camera -
Uses of Camera in engine.shaders
Methods in engine.shaders with parameters of type CameraModifier and TypeMethodDescriptionvoid
EntityShader.loadViewMatrix
(Camera camera) Loads the view matrix to the shader after creating it based on the camera.void
SelectorShader.loadViewMatrix
(Camera camera) Loads the view matrix to the shader after creating it based on the camera.void
TerrainShader.loadViewMatrix
(Camera camera) Loads the view matrix to the shader after creating it based on the camera. -
Uses of Camera in engine.tools
Methods in engine.tools with parameters of type CameraModifier and TypeMethodDescriptionstatic org.joml.Matrix4f
Maths.createViewMatrix
(Camera camera) ViewMatrix is calculated with the position of the camera withing the 3D worldConstructors in engine.tools with parameters of type CameraModifierConstructorDescriptionMousePicker
(Camera camera, org.joml.Matrix4f projectionMatrix, WorldGrid worldGrid) Instantiated and takes in the cameram, WorldGrid and projection matrix.