 |
ObjImporter(IBitmapIO, Scene) Constructor |
Constructor with optional Scene object that when specified is used to cache the loaded textures.
When Scene.GpuDevice is initialized, then the textures are immediately created. Otherwise the textures are created when materials with textures are initialized.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic ObjImporter(
IBitmapIO? bitmapIO,
Scene? scene
)
Parameters
- bitmapIO IBitmapIO
- BitmapIO that is used to read the bitmap files (when null, then no texture file names can be read)
- scene Scene
- Scene that is used to cache the created textures (when null, then textures are created when materials with textures are initialized).
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.ObjImporter.#ctor(Ab4d.SharpEngine.Common.IBitmapIO,Ab4d.SharpEngine.Scene)"]
See Also