Skip to content

Fork of Unity's FBX SDK C# bindings that exposes more unsafe functions

License

Notifications You must be signed in to change notification settings

melMass/com.autodesk.fbx

 
 

Repository files navigation

FbxSharp Project : FBX SDK C# bindings

The FBX SDK C# bindings are available in Unity 2018.3 or later via the com.autodesk.fbx package in the Package Manager.

The bindings were built to support the Fbx Exporter package (com.unity.formats.fbx).

The bindings are a subset of the FBX SDK, and in particular they do not support all that you would need for a general-purpose importer.

Building from source

Requirements

Newer versions of each software likely also work, except as noted.

Windows

When installing Visual Studio, make sure to install C# sdk, C++ sdk, and Universal Windows App Development Tools (this can be done by doing a custom install or relaunching the installer and selecting "Modify").

OSX, Linux, or Windows:

# get the source
git clone https://github.com/Unity-Technologies/com.autodesk.fbx.git
cd com.autodesk.fbx
python build.py

Overview

Writing C# code

// Using FbxSdk Assembly

using FbxSdk;

// global functions found in FbxSdk.Globals
var a = FbxSdk.Globals.FbxGetDataTypeNameForIO(b);

var sdkManager = FbxManager.Create();

sdkManager.Destroy();

Running Tests

Open TestProjects/FBXSdk in Unity and run using the TestRunner.

API Documentation

After compiling, the documentation will be in

FbxSharp/build/docs/html/index.html

Or in zipped form in

FbxSharp/build/install/com.autodesk.fbx/Documentation~/docs.zip

In the Unity package, the documentation is packaged as the zip file.

Reporting Bugs

Please create a minimal Unity project that reproduces the issue and use the Unity Bug Reporter (built in to the Unity Editor).

About

Fork of Unity's FBX SDK C# bindings that exposes more unsafe functions

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 67.9%
  • SWIG 22.1%
  • CMake 4.8%
  • Python 2.9%
  • C++ 2.3%