class Prism::GhostCamera

Overview

A camera has free movement using the mouse and arrow keys Simply adding this camera to your scene will give you the ablity to fly around and view your scene from different angles.

Defined in:

prism/stdlib/ghost_camera.cr

Constructors

Instance methods inherited from class Prism::Entity

add(camera_controls : Prism::CameraControls::Controller) add, material : Prism::Material material, transform : Prism::Transform transform

Constructor methods inherited from class Prism::Entity

new new

Constructor Detail

def self.new #

[View source]