class OBJ::MTLParser

Defined in:

obj/parser.cr

Constructors

Instance Method Summary

Instance methods inherited from class OBJ::ParserBase

custom_file_opener : Proc(String, IO) | Nil custom_file_opener, custom_file_opener=(custom_file_opener : Proc(String, IO) | Nil) custom_file_opener=, on(tag : String | Symbol, &proc : String, String -> )
on(r : Regex, &proc : String, String -> )
on
, on_warning(&proc : String -> ) on_warning, open_file(file)
open_file(file, &block : IO -> )
open_file
, parse! parse!, warn(s) warn

Constructor Detail

def self.new(io : IO) #

[View source]

Instance Method Detail

def mtls : Hash(String, Models::Material) #

[View source]
def mtls=(mtls : Hash(String, Models::Material)) #

[View source]