Click or drag to resize
Ab4d.SharpEngine logo

ReaderObjReadSceneNodes Method

Overload List
 NameDescription
Public methodReadSceneNodes(String) Reads 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. Textures directory is the same as obj file directory.
Public methodReadSceneNodes(Stream, FuncString, Stream) Reads the 3D models from stream and returns the 3D model(s) as a GroupNode that contains MeshModelNodes and other GroupNodes. When the obj file have any additional resources (materials and textures), the resolveResourceFunc must be set to a method that converts resource names into Streams. The method will not return null but an empty GroupNode in case no model is read.
Public methodReadSceneNodes(Stream, FuncString, Stream, Material) Reads the 3D models from stream and returns the 3D model(s) as a GroupNode that contains MeshModelNodes and other GroupNodes. When the obj file have any additional resources (materials and textures), the resolveResourceFunc must be set a method that converts the resource name into Stream. The method will not return null but an empty GroupNode in case no model is read.
Public methodReadSceneNodes(String, String, StandardMaterial) Reads 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.
Top
See Also