Click or drag to resize
AB4D logo

ReaderObj Properties

The ReaderObj type exposes the following members.

Properties
 NameDescription
Public propertyBitmapCacheOption 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).
Public propertyDetectEncodingFromByteOrderMarks 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.
Public propertyErrors Gets a list of errors that occur during obj file loading.
Public propertyIgnoreErrors 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.
Public propertyNamedObjects Gets a dictionary that can be used to get a 3D object by its name (key = name, value = Model3D)
Public propertyParentModelVisual3D 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.
Public propertyReadPolygonIndices 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.
Public propertyResolveResourceFunc 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.
Top
See Also