Class ModelReader
- Namespace
- HelixToolkit.SharpDX
- Assembly
- HelixToolkit.SharpDX.dll
Class ModelReader.
public abstract class ModelReader : IModelReader
- Inheritance
-
ModelReader
- Implements
- Derived
- Inherited Members
Constructors
ModelReader()
Initializes a new instance of the ModelReader class.
protected ModelReader()
Properties
DefaultMaterial
Gets or sets the default material.
public MaterialCore DefaultMaterial { get; set; }
Property Value
- MaterialCore
The default material.
Directory
Gets or sets the directory.
public string Directory { get; set; }
Property Value
- string
The directory.
TexturePath
Gets or sets the texture path.
public string TexturePath { get; set; }
Property Value
- string
The texture path.
Methods
Read(Stream, ModelInfo)
Reads the model from the specified stream.
public abstract List<Object3D>? Read(Stream s, ModelInfo info = default)
Parameters
Returns
Read(string, ModelInfo)
Reads the model from the specified path.
public virtual List<Object3D>? Read(string path, ModelInfo info = default)