Class ObjMaterialFileReaderSettings
Settings to control the behaviour of the ObjMaterialFileReader
Inherited Members
Namespace: JeremyAnsel.Media.WavefrontObj
Assembly: JeremyAnsel.Media.WavefrontObj.dll
Syntax
public class ObjMaterialFileReaderSettings
Fields
| Edit this page View SourceDefault
Default settings
Declaration
public static readonly ObjMaterialFileReaderSettings Default
Field Value
| Type | Description |
|---|---|
| ObjMaterialFileReaderSettings |
Properties
| Edit this page View SourceKeepWhitespacesOfMapFileReferences
Normally whitespaces removed during import e.g. "map_kd wl file 5.mtl" changed to "map_kd wl file 5.mtl" If this flag is set to true, all after the map_kd will be interpreted as a single map_kd reference
Declaration
public bool KeepWhitespacesOfMapFileReferences { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
This flag should be set to true, when object files should be interpreted like other libraries like three.js or tinyobjloader