Skip to content

Hengle/FbxWriter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FBX manipulation for .NET

  • Read FBX binary files (Done)
  • Read FBX ASCII files (Done)
  • Write fully compliant FBX binary files (Done)
  • Write FBX ASCII files (Done)
  • Format detection (TODO)
  • Store and manipulate raw FBX object data (Done)
  • Higher level processing of FBX nodes (TODO)
  • Optional integration with DotNetZip for more efficient compression (TODO)
using Fbx;

class FbxExample
{
	static void Main(string[] args)
	{
		// Read a file
		var documentNode = FbxIO.ReadBinary("MyModel.fbx");
		
		// Update a property
		documentNode["Creator"].Value = "My Application";
		
		// Preview the file in the console
		var writer = new FbxAsciiWriter(Console.OpenStandardOutput());
		writer.Write(documentNode);
		
		// Write the updated binary
		FbxIO.WriteBinary(documentNode, "MyModel_patched.fbx");
	}
}

About

An FBX reader and writer for .NET

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%