ObjLoadOptions

Overview

ObjLoadOptions configures how a Wavefront OBJ (.obj) file is imported into a Scene. Construct an instance, set the desired properties, and pass it to Scene.open() alongside the file path to override the format defaults. Common settings cover which node hierarchies to load, how embedded materials are resolved, and whether animation data is included in the import. When no ObjLoadOptions is supplied, Scene.open() applies the Wavefront OBJ (.obj) defaults defined by ObjFormat.

Properties

NameTypeAccessDescription
flipCoordinateSystembooleanReadDetermines whether the OBJ coordinate system is inverted on import
enableMaterialsbooleanReadToggles loading of material definitions from the OBJ file
scalenumberReadApplies a uniform scaling factor to all imported geometry
normalizeNormalbooleanReadIndicates whether vertex normals are normalized during import

Methods

SignatureDescription
constructor()

See Also