BBMOD_OBJImporter.ImportMaterials

A variable defined in BBMOD_OBJImporter.gml

Description

Bool If true, then the importer tries to import materials from *.mtl files. Default value is false.

Example

/// @desc Create event
var _objImporter = new BBMOD_ObjImporter();
_objImporter.ImportMaterials = true;
var _model = _objImporter.import("model.obj");
_objImporter = _objImporter.destroy();

/// @desc Async - Image Loaded event
BBMOD_RESOURCE_MANAGER.async_image_loaded_update(async_load);

Note

Please note that if this is enabled, BBMOD_RESOURCE_MANAGER will be used for loading textures and you will need to call its method BBMOD_ResourceManager.async_image_loaded_update to make this work properly!

See also

BBMOD_RESOURCE_MANAGER

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.