class Prism::TexturedModel

Overview

Provides a textured model to an Entity

TODO could this be a generic that accepted different types of textures? Maybe we should just put this into stdlib.

Defined in:

prism/textured_model.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(model : Prism::Model, texture : Prism::Texture2D) #

[View source]

Instance Method Detail

def model : Prism::Model #

[View source]
def model=(model : Prism::Model) #

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

[View source]
def texture=(texture : Prism::Texture2D) #

[View source]