public FbxScene LoadScene(FbxImportOptions options) { var native = FbxManagerLoadScene(NativePtr, new StringBuilder(AssetBundle.Current.ToSystemPath(options.Path))); if (native == IntPtr.Zero) { throw new FbxImportException("An error has occured while loading scene"); } var scene = new FbxScene(native); createdScenes.Add(scene); return(scene); }
public FbxModelImporter(FbxImportOptions options) { this.options = options; manager = FbxManager.Create(); }