 |
ObjImporterImport(String, String, StandardMaterial) Method |
Imports the 3D models from objFileName file and returns the 3D model(s) as a GroupNode that contains MeshModelNodes and other GroupNodes.
The method will not return null but an empty GroupNode in case no model is read.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic GroupNode Import(
string objFileName,
string? texturesDirectory,
StandardMaterial? defaultMaterial
)
Parameters
- objFileName String
- obj file name
- texturesDirectory String
- textures directory
- defaultMaterial StandardMaterial
- material that is used if no material is defined in obj file
Return Value
GroupNodeGroupNode that contains MeshModelNodes and other GroupNodes
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.ObjImporter.Import(System.String,System.String,Ab4d.SharpEngine.Materials.StandardMaterial)"]
See Also