Class CMOReader
- Namespace
- HelixToolkit.SharpDX
- Assembly
- HelixToolkit.SharpDX.dll
public class CMOReader : IModelReader
- Inheritance
-
CMOReader
- Implements
- Inherited Members
Fields
AnimationHierarchy
The animation hirarchy
public readonly List<AnimationHierarchy> AnimationHierarchy
Field Value
MaxBoneInfluences
public const int MaxBoneInfluences = 4
Field Value
MaxTextures
public const int MaxTextures = 8
Field Value
Meshes
public readonly List<Object3D> Meshes
Field Value
UniqueAnimations
The unique animations by animation name and corresponding animations by their guid
public readonly Dictionary<string, List<Guid>> UniqueAnimations
Field Value
- Dictionary<string, List<Guid>>
Properties
ModelInfo
Additional info how to treat the model
public ModelInfo ModelInfo { get; }
Property Value
TexturePath
Gets or sets the path to the textures.
public string TexturePath { get; set; }
Property Value
- string
The texture path.
Methods
Read(Stream, ModelInfo)
Reads the model from the specified stream.
public List<Object3D>? Read(Stream s, ModelInfo info = default)
Parameters
Returns
Read(string, ModelInfo)
Reads the model from the specified path.
public List<Object3D>? Read(string path, ModelInfo info = default)