Reader |
The ReaderObj type exposes the following members.
Name | Description | |
---|---|---|
BitmapCacheOption | Gets or sets a BitmapCacheOption that is used when creating bitmaps from files. Default value is OnLoad that caches the image in memory at load time (this does not lock the image file name). | |
DetectEncodingFromByteOrderMarks | Indicates whether to look for byte order marks at the beginning of the file to detect the text encoding (using in StreamReader constructor). Default value is true. | |
Errors | Gets a list of errors that occur during obj file loading. | |
IgnoreErrors | Gets or sets a Boolean that specifies if errors are ignored and reader tries to read as much data as possible. The error texts are written to Errors list. | |
NamedObjects | Gets a dictionary that can be used to get a 3D object by its name (key = name, value = Model3D) | |
ParentModelVisual3D | ParentModelVisual3D need to be set in case the obj files will support reading 3D lines. The property need to be set the ModelVisual3D that will be the parent for the read 3D models. | |
ReadPolygonIndices | Gets or sets a Boolean that specifies if PolygonIndicesProperty is set to the created MeshGeometry3D objects. This property defines the indexes of positions that define mesh polygons. This property is used only when the assimp scene was not read with Triangulation post process and when the Ab3d.PowerToys library is referenced. Default value is false. | |
ResolveResourceFunc | Gets or sets a Func that returns stream from the specified resource name. This can be used to read resources from stream. The returned stream will be closed by the ReaderObj. |