struct Prism::Skybox::Period

Overview

Represents a period of time in which a texture is used in the skybox.

Defined in:

prism/stdlib/skybox.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(activation_time : Prism::Clock, texture : Prism::TextureCubeMap) #

Produces a period of day/night that will become actiev at the activation_time


[View source]

Instance Method Detail

def activation_time : Prism::Clock #

[View source]
def texture : Prism::TextureCubeMap #

[View source]