Class FbxImporter
Provides methods for reading AutoDesk (.fbx) files for use in the Content Pipeline.
[ContentImporter(".fbx", DisplayName = "Fbx Importer - MonoGame", DefaultProcessor = "ModelProcessor")]
public class FbxImporter : ContentImporter<NodeContent>, IContentImporter
- Inheritance
-
FbxImporter
- Implements
- Inherited Members
Properties
IgnoreFbxUpDirection
If true, the custom axis up direction of the FBX model will be ignored.
public bool IgnoreFbxUpDirection { get; set; }
Property Value
PreservePivots
Gets or Sets if the Pivots for an FBX file are preserved or not.
public bool PreservePivots { get; set; }
Property Value
Methods
Import(string, ContentImporterContext)
Called by the framework when importing a game asset. This is the method called by XNA when an asset is to be imported into an object that can be recognized by the Content Pipeline.
public override NodeContent Import(string filename, ContentImporterContext context)
Parameters
filenamestringName of a game asset file.
contextContentImporterContextContains information for importing a game asset, such as a logger interface.
Returns
- NodeContent
Resulting game asset.