Click or drag to resize

Model Class

Represents an FMDL subfile in a ResFile, storing model vertex data, skeletons and used materials.
Inheritance Hierarchy
SystemObject
  Syroot.NintenTools.BfresModel

Namespace:  Syroot.NintenTools.Bfres
Assembly:  Syroot.NintenTools.Bfres (in Syroot.NintenTools.Bfres.dll) Version: 1.2.1
Syntax
C#
public class Model : IResData

The Model type exposes the following members.

Constructors
  NameDescription
Public methodModel
Initializes a new instance of the Model class
Top
Properties
  NameDescription
Public propertyMaterials
Gets or sets the Material instance applied on the Shapes to color their surface.
Public propertyName
Public propertyPath
Gets or sets the path of the file which originally supplied the data of this instance.
Public propertyShapes
Gets or sets the Shape instances forming the surface of the model.
Public propertySkeleton
Gets the Skeleton instance to deform the model with animations.
Public propertyTotalVertexCount
Gets the total number of vertices to process when drawing this model.
Public propertyUserData
Gets or sets customly attached UserData instances.
Public propertyVertexBuffers
Gets or sets the VertexBuffer instances storing the vertex data used by the Shapes.
Top
See Also