BBMOD_OBJImporter

Extends BBMOD_Importer

constructor

new BBMOD_OBJImporter()

Description

An *.obj model importer.

Properties

Name Description
ConvertYToZUp If true, then Y and Z axes are switched in imported models. Default value is false.
InvertWinding If true, then the winding order of vertices is inverted. Default value is false.

Example

var _objImporter = new BBMOD_OBJImporter();
modHouse = _objImporter.import("Data/Assets/House.obj");
modTree = _objImporter.import("Data/Assets/Tree.obj");
modFence = _objImporter.import("Data/Assets/Fence.obj");
_objImporter.destroy();
Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on November 16, 2022 using GMDoc.