Click or drag to resize
AB4D logo

ReaderObj Methods

The ReaderObj type exposes the following members.

Methods
 NameDescription
Public methodReadFile Reads the objFileName file and returns the ObjFileData object.
Public methodReadModel3D(String) Reads the 3D models from objFileName file and returns the 3d models as Model3DGroup or GeomentryModel3D. Textures directory is the same as obj file directory.
Public methodReadModel3D(Stream, FuncString, Stream) Reads the 3D models from stream and returns the 3d models as Model3DGroup or GeomentryModel3D. 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.
Public methodReadModel3D(Stream, FuncString, Stream, Material) Reads the 3D models from stream and returns the 3d models as Model3DGroup or GeomentryModel3D. 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.
Public methodReadModel3D(String, String, Material) Reads the 3D models from objFileName file and returns the 3d models as Model3DGroup or GeomentryModel3D.
Public methodReadStream Reads the obj file from specified stream and returns the ObjFileData object.
Top
See Also