This commit is contained in:
wub
2026-10-21 20:45:23 +01:00
parent 7dfe4bd6c2
commit 80fc97c1cb
26538 changed files with 5577251 additions and 0 deletions
@@ -0,0 +1,174 @@
# Changes in FBX SDK C# Bindings
## [5.1.1] - 2024-03-18
* Update FBX SDK to 2020.3.4.
* Add support for Windows ARM64.
## [5.1.0] - 2023-09-08
* Updated package version number for release.
## [5.1.0-pre.1] - 2023-05-02
NEW FEATURES
* Expose FbxCamera focus distance and use depth of field properties.
## [5.0.0] - 2022-11-15
CHANGES
* Update FBX SDK to 2020.3.2.
## [5.0.0-pre.1] - 2022-08-24
NEW FEATURES
* Expose functions to get/set geometric transforms.
CHANGES
* Increase minimum supported Unity version to 2020.3.
* Update FBX SDK to 2020.3.1.
* Update FBX SDK Windows binaries to use VS2019.
BUGFIXES
* Fix IOException when overwriting an existing build. Thank you to @julienkay for the contribution.
* Changes names of test assemblies to reduce the risk of assembly name conflict in projects.
## [4.2.0] - 2022-07-08
Released, no changes from release candidate 4.2.0-pre.1.
## [4.2.0-pre.1] - 2022-04-20
NEW FEATURES
* Added bindings for FbxScene::GetMaterialCount, FbxScene::GetMaterial, FbxNode::GetMaterialCount.
CHANGES
* Upgraded to FBX SDK 2020.3.1.
## [4.1.1] - 2021-09-03
NEW FEATURES
* Additional bindings for FbxAnimCurve, FbxAnimCurveBase, FbxCollection, and FbxGeometryBase. Thank you to @utjkaz for the addition.
## [4.1.0] - 2021-07-06
CHANGES
* Update from prerelease to released package.
## [4.1.0-pre.3] - 2021-06-28
CHANGES
* Universal Mac binary supporting Apple M1 and OSX 10.13+.
## [4.1.0-pre.1] - 2021-04-30
NEW FEATURES
* Add support for Apple M1.
* Add binding to set a string on an FbxProperty.
## [4.0.1] - 2021-03-10
CHANGES
* Update from prerelease to released package.
## [4.0.0-pre.2] - 2021-01-08
CHANGES
* Updated documentation.
* Updated minimum supported Unity version.
* Removed IL2CPP backend not supported section.
* Updated link to FBX SDK API documentation.
* Moved API documentation to Scripting API landing page.
* Update Third Party Notices.md with new FBX License.
* Upgraded to FBX SDK 2020.2.
## [4.0.0-pre.1] - 2020-10-07
NEW FEATURES
* Binding for FbxMesh::GetPolygonVertexNormal(). Thank you to @julienkay for the addition.
* Bindings for FbxNurbsCurve. Thank you to @jeanblouin for the addition.
CHANGES
* Switched to using Unity code coverage to test unit test coverage.
* Made UnityFbxSdkNative dll and scripts Editor only by default. In order to use at runtime,
add the FBXSDK_RUNTIME define to Edit > Project Settings... > Player > Other Settings > Scripting Define Symbols.
* Update minimum supported Unity version from 2018.2 to 2018.4.
BUGFIXES
* UnityFbxSdkNative dll is no longer included in builds, fixing an issue with shipping on the Mac App Store.
## [3.1.0-preview.2] - 2020-07-21
CHANGES
* ERRATA: The "Upgraded to FBX SDK 2020.0" entry in the previous version should have been "Upgraded to FBX SDK 2020.1".
## [3.1.0-preview.1] - 2020-07-17
CHANGES
* Upgraded to FBX SDK 2020.0
## [3.0.1-preview.1] - 2020-03-31
BUGFIXES
* Fix incorrect DLL path used when calling functions, giving DLL not found errors.
## [3.0.0-preview.1] - 2019-12-03
CHANGES
* Upgraded to FBX SDK 2020.0
* Added bindings for FbxAnimCurve::KeySetTangents and FbxAnimCurve::KeyGetTangents
* Added bindings for FbxAnimCurveKey methods to set and get tangent mode and data
* Added bindings for FbxAxisSystem::DeepConvertScene
BUGFIXES
* The FBX SDK C# Bindings package now supports the IL2CPP backend.
KNOW ISSUES
* For Linux support use Ubuntu 18.04 (Bionic Beaver). The FBX SDK C# Bindings package is not compatible with CentOS 7.
## [2.0.0-preview.3] - 2018-12-03
CHANGES
* Updated documentation
## [2.0.0-preview.2] - 2018-11-13
CHANGES
* Removed version number from documentation (already available in changelog)
* Added missing .meta files
* Corrected asmdef name and platform settings
* Corrected plugin .meta file platform settings
* Experimental Linux support
## [2.0.0-preview.1] - 2018-10-25
CHANGES
* Updated documentation to conform to package validation requirements
## [2.0.0-preview] - 2018-06-22
NEW FEATURES
* The C# Bindings package has been renamed to com.autodesk.fbx
* The Autodesk.Fbx assembly can now be used in standalone builds (runtime)
* Added support for physical camera attributes
* Added support for constraints: FbxConstraint, FbxConstraintParent, FbxConstraintAim, and related methods
* Updated to FBX SDK 2018.1
KNOWN ISSUES
* The FBX SDK C# Bindings package is not supported if you build using the IL2CPP backend.
## [1.3.0] - 2018-04-17
NOTES
* This is the last Asset Store version. It is also known as 1.3.0f1.
NEW FEATURES
* Added bindings for FbxAnimCurveFilterUnroll
* Added binding for FbxGlobalSettings SetTimeMode to set frame rate
* Exposed bindings to set FbxNode's transformation inherit type
* Added binding for FbxCamera's FieldOfView property
* Added FbxObject::GetScene
* Added bindings for FbxIOFileHeaderInfo.
* Exposed mCreator and mFileVersion as read-only attributes.
FIXES
* Fix Universal Windows Platform build error caused by UnityFbxSdk.dll being set as compatible with any platform instead of editor only.
* Enforced FbxSdk DLL only works with Unity 2017.1+
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: c56490bdd62304a3e99a21086727f6e4
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,20 @@
# API documentation
See the [Autodesk® FBX® SDK API documentation](https://help.autodesk.com/view/FBX/2020/ENU/?guid=FBX_Developer_Help_cpp_ref_annotated_html).
The bindings are in the `Autodesk.Fbx` namespace:
```
using Autodesk.Fbx;
using UnityEditor;
using UnityEngine;
public class HelloFbx {
[MenuItem("Fbx/Hello")]
public static void Hello() {
using(var manager = FbxManager.Create()) {
Debug.LogFormat("FBX SDK is version {0}", FbxManager.GetVersion());
}
}
}
```
@@ -0,0 +1 @@
{ "DefineConstants": "UNITY_EDITOR;FBXSDK_RUNTIME" }
@@ -0,0 +1,58 @@
# About Autodesk® FBX® SDK for Unity
The C# Autodesk® FBX® SDK package provides access to a subset of the Autodesk® FBX® SDK from Unity C# scripts.
The Autodesk® FBX® SDK is a C++ software development platform and API toolkit that is free and easy-to-use. It allows application and content vendors to transfer existing content into the FBX format with minimal effort.
> **Note:** The C# Autodesk® FBX® SDK exposes only [a subset of the full API](../api/index.html). That subset enables exporter tools, such as the [FBX Exporter](https://docs.unity3d.com/Packages/com.unity.formats.fbx@latest) package. Unity does not recommend to use the C# Autodesk® FBX® SDK package for FBX importing. See [Known issues and limitations](#known-issues-and-limitations) for more information.
## Contents
The Autodesk® FBX® SDK for Unity package contains:
* C# bindings
* Compiled binaries for MacOS, Windows, and Ubuntu that include the FBX SDK
## Requirements
The Autodesk® FBX® SDK for Unity package is compatible with the following versions of the Unity Editor:
* 2020.3 and later
## Installation
Unity automatically installs the Autodesk® FBX® SDK as a dependency of the [FBX Exporter](https://docs.unity3d.com/Packages/com.unity.formats.fbx@latest) package.
> **Note:** The Package Manager UI does not allow you to discover it, but you can install it without installing the FBX Exporter. In that case, you need to [add it to your package manifest](https://docs.unity3d.com/Packages/com.unity.package-manager-ui@latest).
## Including the package in a build
By default, Unity does not include this package in builds, you can only use it in the Editor. However, it is possible to use this package at runtime on some specific platforms.
> **Note:** You can currently use the package in Windows/OSX/Linux standalone builds only.
To include the Autodesk® FBX® SDK for Unity package in your build:
1. In the Unity Editor main menu, select **Edit > Project Settings**.
2. In **Player** properties, expand the **Other Settings** section.
3. Under **Configuration**, in the **Scripting Define Symbols** field, add `FBXSDK_RUNTIME`.
## Known issues and limitations
#### Limited import capabilities
In this version of the package, you cannot downcast SDK C# objects, which limits the use of the bindings for an importer.
For example, if the FBX SDK declares in C++ that it returns an `FbxDeformer`, you can safely cast the deformer to a skin deformer on the C++ side if you happen to know it is an `FbxSkinDeformer`. However, on the C# side, this is not permitted.
#### Unexpected crashes following invalid operations
While there are guards against some common errors, you might make Unity crash if you write C# code that directs the FBX SDK to perform invalid operations.
For example, if you have an `FbxProperty` in C# and you delete the `FbxNode` that contains the property, the use of `FbxProperty` may produce an undefined behavior. This might even make the Unity Editor crash. Make sure to read the Editor log if you encounter unexpected crashes when you write FBX SDK C# code.
#### Linux not supported
Linux support is currently experimental on this package. Unity does not provide support for it.
#### Linux requires libstdc++ 6.0.28+
On Linux, libstdc++ 6.0.28 is required to be installed in order to use the package.
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1c7d63511182eec4f906d34bd2953b19
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,14 @@
{
"name": "Autodesk.Fbx.Editor",
"references": [],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": []
}
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: ad318b1a7ea5a6f4aa9b396904ece70f
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 44544f7baf73ace4596a591d41841b30
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,90 @@
fileFormatVersion: 2
guid: 0a29d269aa30eda4cb23ebe41b124f23
folderAsset: yes
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
'': Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux: 0
Exclude Linux64: 1
Exclude LinuxUniversal: 0
Exclude OSXUniversal: 1
Exclude Win: 1
Exclude Win64: 1
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: OSX
- first:
Facebook: Win
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Facebook: Win64
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: Linux
second:
enabled: 1
settings:
CPU: x86
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: LinuxUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6493f277d4e87bd48ad6157e20e31725
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>UnityFbxSdkNative</string>
<key>CFBundleGetInfoString</key>
<string></string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string></string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleLongVersionString</key>
<string></string>
<key>CFBundleName</key>
<string></string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string></string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string></string>
<key>CSResourcesFileMapped</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string></string>
</dict>
</plist>
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 78863011f46d72a418e675f7a77d1160
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c517bd9cc871582468216a19954136d8
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 2cd2dcf82aa9a6848a2e270a9ff5f09a
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,101 @@
fileFormatVersion: 2
guid: 500f9f341f03b4f4b8420d786f25389b
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 1
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
'': Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux: 1
Exclude Linux64: 1
Exclude LinuxUniversal: 0
Exclude OSXUniversal: 1
Exclude Win: 1
Exclude Win64: 1
- first:
'': OSXIntel
second:
enabled: 0
settings:
CPU: None
- first:
'': OSXIntel64
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86_64
DefaultValueInitialized: true
OS: Linux
- first:
Facebook: Win
second:
enabled: 0
settings:
CPU: None
- first:
Facebook: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: Linux
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: LinuxUniversal
second:
enabled: 1
settings:
CPU: x86_64
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 497eeaff4d3e8224abe911da9e1f0309
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,46 @@
fileFormatVersion: 2
guid: d0284ae8a01a731409fb42fd4616adf5
PluginImporter:
externalObjects: {}
serializedVersion: 3
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 1
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
Any:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux64: 1
Exclude OSXUniversal: 1
Exclude Win: 1
Exclude Win64: 1
Editor:
enabled: 1
settings:
CPU: ARM64
DefaultValueInitialized: true
OS: Windows
Linux64:
enabled: 0
settings:
CPU: x86_64
OSXUniversal:
enabled: 0
settings:
CPU: None
Win:
enabled: 0
settings:
CPU: x86
Win64:
enabled: 0
settings:
CPU: None
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c05a27363a2811f4c9765beab6841d20
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,101 @@
fileFormatVersion: 2
guid: b2164022394c51c459d1d3c59efd0911
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
'': Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux: 0
Exclude Linux64: 1
Exclude LinuxUniversal: 0
Exclude OSXUniversal: 1
Exclude Win: 1
Exclude Win64: 1
- first:
'': OSXIntel
second:
enabled: 0
settings:
CPU: None
- first:
'': OSXIntel64
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86_64
DefaultValueInitialized: true
OS: Windows
- first:
Facebook: Win
second:
enabled: 0
settings:
CPU: None
- first:
Facebook: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: Linux
second:
enabled: 1
settings:
CPU: None
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: LinuxUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: x86_64
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: cc5a382e618cb3e48b81637ebdf3f259
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,124 @@
#if FBXSDK_RUNTIME
using UnityEngine;
using UnityEditor;
using UnityEditor.Callbacks;
using System.IO;
using System.Runtime.InteropServices;
namespace Autodesk.Fbx
{
/// <summary>
/// Add UnityFbxSdkNative plugin to build after build is complete.
/// </summary>
public class PostProcessAddToBuild
{
private const string fbxsdkNativePlugin = "UnityFbxSdkNative";
private const string fbxsdkNativePluginPath = "Packages/com.autodesk.fbx/Editor/Plugins";
private const string fbxsdkNativePluginExtWin = ".dll";
private const string fbxsdkNativePluginExtOSX = ".bundle";
private const string fbxsdkNativePluginExtLinux = ".so";
private const string buildPluginPathWin = "{0}_Data/Plugins";
private const string buildPluginPathOSX = "{0}.app/Contents/Plugins";
private const string buildPluginPathLinux = "{0}_Data/Plugins/x86_64";
[PostProcessBuild(1)]
public static void OnPostprocessBuild(BuildTarget target, string pathToBuiltProject)
{
var buildPathWithoutExt = Path.ChangeExtension(pathToBuiltProject, null);
string destPath = null;
string sourcePath = null;
string sourcePathExt = null;
switch (target)
{
case BuildTarget.StandaloneWindows64:
destPath = string.Format(buildPluginPathWin, buildPathWithoutExt);
sourcePathExt = fbxsdkNativePluginExtWin;
break;
case BuildTarget.StandaloneOSX:
destPath = string.Format(buildPluginPathOSX, buildPathWithoutExt);
// Since the bundle is technically a folder and not a file, need to copy the contents of the bundle
destPath = Path.Combine(destPath, fbxsdkNativePlugin + fbxsdkNativePluginExtOSX);
sourcePathExt = fbxsdkNativePluginExtOSX;
break;
case BuildTarget.StandaloneLinux64:
destPath = string.Format(buildPluginPathLinux, buildPathWithoutExt);
sourcePathExt = fbxsdkNativePluginExtLinux;
break;
default:
throw new System.PlatformNotSupportedException("FBX SDK not supported on Build Target: " + target);
}
if (!string.IsNullOrEmpty(sourcePathExt))
{
string platformFolder = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ?
(RuntimeInformation.OSArchitecture == Architecture.Arm64 ? "WinARM64" : "WinX64") : "";
sourcePath = Path.Combine(fbxsdkNativePluginPath, platformFolder, fbxsdkNativePlugin + sourcePathExt);
}
if (string.IsNullOrEmpty(destPath) || string.IsNullOrEmpty(sourcePath))
{
Debug.LogWarningFormat("Failed to copy plugin {0} to build folder", fbxsdkNativePlugin);
return;
}
if (!Directory.Exists(destPath))
{
Directory.CreateDirectory(destPath);
}
if (target == BuildTarget.StandaloneOSX)
{
// bundle is technically a folder and gives an error
// when you try to copy it as a file.
DirectoryCopy(sourcePath, destPath, true);
}
else {
destPath = Path.Combine(destPath, fbxsdkNativePlugin + sourcePathExt);
File.Copy(sourcePath, destPath, overwrite: true);
}
}
// Taken from: https://docs.microsoft.com/en-us/dotnet/standard/io/how-to-copy-directories
private static void DirectoryCopy(string sourceDirName, string destDirName, bool copySubDirs)
{
// Get the subdirectories for the specified directory.
DirectoryInfo dir = new DirectoryInfo(sourceDirName);
if (!dir.Exists)
{
throw new DirectoryNotFoundException(
"Source directory does not exist or could not be found: "
+ sourceDirName);
}
DirectoryInfo[] dirs = dir.GetDirectories();
// If the destination directory doesn't exist, create it.
if (!Directory.Exists(destDirName))
{
Directory.CreateDirectory(destDirName);
}
// Get the files in the directory and copy them to the new location.
FileInfo[] files = dir.GetFiles();
foreach (FileInfo file in files)
{
string temppath = Path.Combine(destDirName, file.Name);
file.CopyTo(temppath, false);
}
// If copying subdirectories, copy them and their contents to new location.
if (copySubDirs)
{
foreach (DirectoryInfo subdir in dirs)
{
string temppath = Path.Combine(destDirName, subdir.Name);
DirectoryCopy(subdir.FullName, temppath, copySubDirs);
}
}
}
}
}
#endif // FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 62deb3ed14a43dd4ca31fbed91e710a9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,5 @@
com.autodesk.fbx copyright © 2018 Unity Technologies ApS
Licensed under the Unity Companion License for Unity-dependent projects--see [Unity Companion License](http://www.unity3d.com/legal/licenses/Unity_Companion_License).
Unless expressly provided otherwise, the Software under this license is made available strictly on an "AS IS" BASIS WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. Please review the license for details on these and other terms and conditions.
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 7ca9385f85229e7468f58a63ae414552
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,16 @@
FBX SDK C# Bindings
===================
This package contains only a subset of the Autodesk® FBX® SDK, and is designed to work in Unity only.
How to Access Bindings in Code
-------------------------------
All the bindings are located under the FbxSdk namespace,
and are accessed almost the same way as in C++.
e.g. FbxManager::Create() in C++ becomes FbxSdk.FbxManager.Create() in C#
How to Access Global Variables and Functions
--------------------------------------------
All global variables and functions are in Globals.cs, in the Globals class under the FbxSdk namespace.
e.g. if we want to access the IOSROOT variable, we would do FbxSdk.Globals.IOSROOT
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 9f155cfe5bc380541a05a1d74e740809
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5de5bf5533f85854288f97ca2c08822c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,13 @@
{
"name": "Autodesk.Fbx",
"references": [],
"optionalUnityReferences": [],
"includePlatforms": [
"Editor",
"LinuxStandalone64",
"macOSStandalone",
"WindowsStandalone64"
],
"excludePlatforms": [],
"allowUnsafeCode": false
}
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 2b82e46c4ca0a4eb697ab8ccdfb39af1
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a19610b3dcb8d484282f75b81592104a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,21 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public enum EFbxMemoryClearMode {
eClearToZero,
eUninitialized
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e37ecba33925f55439461ff8cee3e82e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,45 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public enum EFbxType {
eFbxUndefined,
eFbxChar,
eFbxUChar,
eFbxShort,
eFbxUShort,
eFbxUInt,
eFbxLongLong,
eFbxULongLong,
eFbxHalfFloat,
eFbxBool,
eFbxInt,
eFbxFloat,
eFbxDouble,
eFbxDouble2,
eFbxDouble3,
eFbxDouble4,
eFbxDouble4x4,
eFbxEnum = 17,
eFbxEnumM = -17,
eFbxString = 18,
eFbxTime,
eFbxReference,
eFbxBlob,
eFbxDistance,
eFbxDateTime,
eFbxTypeCount = 24
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c353b2a15212245498f3817e19d4c91a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,273 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxAMatrix : FbxDouble4x4 {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal FbxAMatrix(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NativeMethods.FbxAMatrix_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FbxAMatrix obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
~FbxAMatrix() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
NativeMethods.delete_FbxAMatrix(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
base.Dispose();
}
}
public FbxAMatrix() : this(NativeMethods.new_FbxAMatrix__SWIG_0(), true) {
}
public FbxAMatrix(FbxAMatrix pOther) : this(NativeMethods.new_FbxAMatrix__SWIG_1(FbxAMatrix.getCPtr(pOther)), true) {
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public FbxAMatrix(FbxVector4 pT, FbxVector4 pR, FbxVector4 pS) : this(NativeMethods.new_FbxAMatrix__SWIG_2(pT, pR, pS), true) {
}
public double Get(int pY, int pX) {
double ret = NativeMethods.FbxAMatrix_Get(swigCPtr, pY, pX);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxVector4 GetT() {
var ret = NativeMethods.FbxAMatrix_GetT(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxVector4 GetR() {
var ret = NativeMethods.FbxAMatrix_GetR(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxQuaternion GetQ() {
FbxQuaternion ret = new FbxQuaternion(NativeMethods.FbxAMatrix_GetQ(swigCPtr), true);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxVector4 GetS() {
var ret = NativeMethods.FbxAMatrix_GetS(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxVector4 GetRow(int pY) {
var ret = NativeMethods.FbxAMatrix_GetRow(swigCPtr, pY);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxVector4 GetColumn(int pX) {
var ret = NativeMethods.FbxAMatrix_GetColumn(swigCPtr, pX);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetIdentity() {
NativeMethods.FbxAMatrix_SetIdentity(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void SetT(FbxVector4 pT) {
NativeMethods.FbxAMatrix_SetT(swigCPtr, pT);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void SetR(FbxVector4 pR) {
NativeMethods.FbxAMatrix_SetR(swigCPtr, pR);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void SetQ(FbxQuaternion pQ) {
NativeMethods.FbxAMatrix_SetQ(swigCPtr, FbxQuaternion.getCPtr(pQ));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void SetS(FbxVector4 pS) {
NativeMethods.FbxAMatrix_SetS(swigCPtr, pS);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void SetTRS(FbxVector4 pT, FbxVector4 pR, FbxVector4 pS) {
NativeMethods.FbxAMatrix_SetTRS(swigCPtr, pT, pR, pS);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void SetTQS(FbxVector4 pT, FbxQuaternion pQ, FbxVector4 pS) {
NativeMethods.FbxAMatrix_SetTQS(swigCPtr, pT, FbxQuaternion.getCPtr(pQ), pS);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
private FbxAMatrix operator_Scale(double pValue) {
FbxAMatrix ret = new FbxAMatrix(NativeMethods.FbxAMatrix_operator_Scale(swigCPtr, pValue), true);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
private FbxAMatrix operator_InvScale(double pValue) {
FbxAMatrix ret = new FbxAMatrix(NativeMethods.FbxAMatrix_operator_InvScale(swigCPtr, pValue), true);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxVector4 MultT(FbxVector4 pVector4) {
var ret = NativeMethods.FbxAMatrix_MultT(swigCPtr, pVector4);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxVector4 MultR(FbxVector4 pVector4) {
var ret = NativeMethods.FbxAMatrix_MultR(swigCPtr, pVector4);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxQuaternion MultQ(FbxQuaternion pQuaternion) {
FbxQuaternion ret = new FbxQuaternion(NativeMethods.FbxAMatrix_MultQ(swigCPtr, FbxQuaternion.getCPtr(pQuaternion)), true);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxVector4 MultS(FbxVector4 pVector4) {
var ret = NativeMethods.FbxAMatrix_MultS(swigCPtr, pVector4);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
private FbxAMatrix operator_Negate() {
FbxAMatrix ret = new FbxAMatrix(NativeMethods.FbxAMatrix_operator_Negate(swigCPtr), true);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
private FbxAMatrix operator_Mul(FbxAMatrix pOther) {
FbxAMatrix ret = new FbxAMatrix(NativeMethods.FbxAMatrix_operator_Mul(swigCPtr, FbxAMatrix.getCPtr(pOther)), true);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxAMatrix Inverse() {
FbxAMatrix ret = new FbxAMatrix(NativeMethods.FbxAMatrix_Inverse(swigCPtr), true);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxAMatrix Transpose() {
FbxAMatrix ret = new FbxAMatrix(NativeMethods.FbxAMatrix_Transpose(swigCPtr), true);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxAMatrix Slerp(FbxAMatrix pOther, double pWeight) {
FbxAMatrix ret = new FbxAMatrix(NativeMethods.FbxAMatrix_Slerp(swigCPtr, FbxAMatrix.getCPtr(pOther), pWeight), true);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
private bool _equals(FbxAMatrix pOther) {
bool ret = NativeMethods.FbxAMatrix__equals(swigCPtr, FbxAMatrix.getCPtr(pOther));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public bool IsIdentity(double pThreshold) {
bool ret = NativeMethods.FbxAMatrix_IsIdentity__SWIG_0(swigCPtr, pThreshold);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public bool IsIdentity() {
bool ret = NativeMethods.FbxAMatrix_IsIdentity__SWIG_1(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public static FbxAMatrix operator - (FbxAMatrix a) {
return a.operator_Negate();
}
public static FbxAMatrix operator * (FbxAMatrix a, double b) {
return a.operator_Scale(b);
}
public static FbxAMatrix operator * (double a, FbxAMatrix b) {
return b.operator_Scale(a);
}
public static FbxAMatrix operator / (FbxAMatrix a, double b) {
return a.operator_InvScale(b);
}
public static FbxAMatrix operator * (FbxAMatrix a, FbxAMatrix b) {
return a.operator_Mul(b);
}
public bool Equals(FbxAMatrix other) {
if (object.ReferenceEquals(other, null)) { return false; }
return _equals(other);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxAMatrix;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxAMatrix).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxAMatrix a, FbxAMatrix b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxAMatrix a, FbxAMatrix b) {
return !(a == b);
}
public override int GetHashCode() {
int ret = NativeMethods.FbxAMatrix_GetHashCode(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 5df12f93eac2f43898ad760c073ec6dd
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,323 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxAnimCurve : FbxAnimCurveBase {
internal FbxAnimCurve(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public static FbxAnimCurve Create(FbxScene pContainer, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxAnimCurve_Create(FbxScene.getCPtr(pContainer), pName);
FbxAnimCurve ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxAnimCurve(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual void KeyModifyBegin() {
NativeMethods.FbxAnimCurve_KeyModifyBegin(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual void KeyModifyEnd() {
NativeMethods.FbxAnimCurve_KeyModifyEnd(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual int KeyAdd(FbxTime pTime, ref int pLast) {
int ret = NativeMethods.FbxAnimCurve_KeyAdd__SWIG_0(swigCPtr, FbxTime.getCPtr(pTime), ref pLast);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual int KeyAdd(FbxTime pTime) {
int ret = NativeMethods.FbxAnimCurve_KeyAdd__SWIG_1(swigCPtr, FbxTime.getCPtr(pTime));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public override bool KeyRemove(int pIndex) {
bool ret = NativeMethods.FbxAnimCurve_KeyRemove__SWIG_0(swigCPtr, pIndex);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public override bool KeyRemove(int pStartIndex, int pEndIndex) {
bool ret = NativeMethods.FbxAnimCurve_KeyRemove__SWIG_1(swigCPtr, pStartIndex, pEndIndex);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual void KeySet(int pKeyIndex, FbxTime pTime, float pValue, FbxAnimCurveDef.EInterpolationType pInterpolation, FbxAnimCurveDef.ETangentMode pTangentMode, float pData0, float pData1, FbxAnimCurveDef.EWeightedMode pTangentWeightMode, float pWeight0, float pWeight1, float pVelocity0, float pVelocity1) {
NativeMethods.FbxAnimCurve_KeySet__SWIG_0(swigCPtr, pKeyIndex, FbxTime.getCPtr(pTime), pValue, (int)pInterpolation, (int)pTangentMode, pData0, pData1, (int)pTangentWeightMode, pWeight0, pWeight1, pVelocity0, pVelocity1);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual void KeySet(int pKeyIndex, FbxTime pTime, float pValue, FbxAnimCurveDef.EInterpolationType pInterpolation, FbxAnimCurveDef.ETangentMode pTangentMode, float pData0, float pData1, FbxAnimCurveDef.EWeightedMode pTangentWeightMode, float pWeight0, float pWeight1, float pVelocity0) {
NativeMethods.FbxAnimCurve_KeySet__SWIG_1(swigCPtr, pKeyIndex, FbxTime.getCPtr(pTime), pValue, (int)pInterpolation, (int)pTangentMode, pData0, pData1, (int)pTangentWeightMode, pWeight0, pWeight1, pVelocity0);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual void KeySet(int pKeyIndex, FbxTime pTime, float pValue, FbxAnimCurveDef.EInterpolationType pInterpolation, FbxAnimCurveDef.ETangentMode pTangentMode, float pData0, float pData1, FbxAnimCurveDef.EWeightedMode pTangentWeightMode, float pWeight0, float pWeight1) {
NativeMethods.FbxAnimCurve_KeySet__SWIG_2(swigCPtr, pKeyIndex, FbxTime.getCPtr(pTime), pValue, (int)pInterpolation, (int)pTangentMode, pData0, pData1, (int)pTangentWeightMode, pWeight0, pWeight1);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual void KeySet(int pKeyIndex, FbxTime pTime, float pValue, FbxAnimCurveDef.EInterpolationType pInterpolation, FbxAnimCurveDef.ETangentMode pTangentMode, float pData0, float pData1, FbxAnimCurveDef.EWeightedMode pTangentWeightMode, float pWeight0) {
NativeMethods.FbxAnimCurve_KeySet__SWIG_3(swigCPtr, pKeyIndex, FbxTime.getCPtr(pTime), pValue, (int)pInterpolation, (int)pTangentMode, pData0, pData1, (int)pTangentWeightMode, pWeight0);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual void KeySet(int pKeyIndex, FbxTime pTime, float pValue, FbxAnimCurveDef.EInterpolationType pInterpolation, FbxAnimCurveDef.ETangentMode pTangentMode, float pData0, float pData1, FbxAnimCurveDef.EWeightedMode pTangentWeightMode) {
NativeMethods.FbxAnimCurve_KeySet__SWIG_4(swigCPtr, pKeyIndex, FbxTime.getCPtr(pTime), pValue, (int)pInterpolation, (int)pTangentMode, pData0, pData1, (int)pTangentWeightMode);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual void KeySet(int pKeyIndex, FbxTime pTime, float pValue, FbxAnimCurveDef.EInterpolationType pInterpolation, FbxAnimCurveDef.ETangentMode pTangentMode, float pData0, float pData1) {
NativeMethods.FbxAnimCurve_KeySet__SWIG_5(swigCPtr, pKeyIndex, FbxTime.getCPtr(pTime), pValue, (int)pInterpolation, (int)pTangentMode, pData0, pData1);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual void KeySet(int pKeyIndex, FbxTime pTime, float pValue, FbxAnimCurveDef.EInterpolationType pInterpolation, FbxAnimCurveDef.ETangentMode pTangentMode, float pData0) {
NativeMethods.FbxAnimCurve_KeySet__SWIG_6(swigCPtr, pKeyIndex, FbxTime.getCPtr(pTime), pValue, (int)pInterpolation, (int)pTangentMode, pData0);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual void KeySet(int pKeyIndex, FbxTime pTime, float pValue, FbxAnimCurveDef.EInterpolationType pInterpolation, FbxAnimCurveDef.ETangentMode pTangentMode) {
NativeMethods.FbxAnimCurve_KeySet__SWIG_7(swigCPtr, pKeyIndex, FbxTime.getCPtr(pTime), pValue, (int)pInterpolation, (int)pTangentMode);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual void KeySet(int pKeyIndex, FbxTime pTime, float pValue, FbxAnimCurveDef.EInterpolationType pInterpolation) {
NativeMethods.FbxAnimCurve_KeySet__SWIG_8(swigCPtr, pKeyIndex, FbxTime.getCPtr(pTime), pValue, (int)pInterpolation);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual void KeySet(int pKeyIndex, FbxTime pTime, float pValue) {
NativeMethods.FbxAnimCurve_KeySet__SWIG_9(swigCPtr, pKeyIndex, FbxTime.getCPtr(pTime), pValue);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual FbxAnimCurveDef.EInterpolationType KeyGetInterpolation(int pKeyIndex) {
FbxAnimCurveDef.EInterpolationType ret = (FbxAnimCurveDef.EInterpolationType)NativeMethods.FbxAnimCurve_KeyGetInterpolation(swigCPtr, pKeyIndex);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual void KeySetInterpolation(int pKeyIndex, FbxAnimCurveDef.EInterpolationType pInterpolation) {
NativeMethods.FbxAnimCurve_KeySetInterpolation(swigCPtr, pKeyIndex, (int)pInterpolation);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual FbxAnimCurveDef.ETangentMode KeyGetTangentMode(int pKeyIndex, bool pIncludeOverrides) {
FbxAnimCurveDef.ETangentMode ret = (FbxAnimCurveDef.ETangentMode)NativeMethods.FbxAnimCurve_KeyGetTangentMode__SWIG_0(swigCPtr, pKeyIndex, pIncludeOverrides);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual FbxAnimCurveDef.ETangentMode KeyGetTangentMode(int pKeyIndex) {
FbxAnimCurveDef.ETangentMode ret = (FbxAnimCurveDef.ETangentMode)NativeMethods.FbxAnimCurve_KeyGetTangentMode__SWIG_1(swigCPtr, pKeyIndex);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual void KeySetTangentMode(int pKeyIndex, FbxAnimCurveDef.ETangentMode pTangent) {
NativeMethods.FbxAnimCurve_KeySetTangentMode(swigCPtr, pKeyIndex, (int)pTangent);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual FbxAnimCurveKey KeyGet(int pIndex) {
FbxAnimCurveKey ret = new FbxAnimCurveKey(NativeMethods.FbxAnimCurve_KeyGet(swigCPtr, pIndex), true);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual float KeyGetValue(int pKeyIndex) {
float ret = NativeMethods.FbxAnimCurve_KeyGetValue(swigCPtr, pKeyIndex);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual void KeySetValue(int pKeyIndex, float pValue) {
NativeMethods.FbxAnimCurve_KeySetValue(swigCPtr, pKeyIndex, pValue);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual void KeyIncValue(int pKeyIndex, float pValue) {
NativeMethods.FbxAnimCurve_KeyIncValue(swigCPtr, pKeyIndex, pValue);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual void KeyMultValue(int pKeyIndex, float pValue) {
NativeMethods.FbxAnimCurve_KeyMultValue(swigCPtr, pKeyIndex, pValue);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual void KeySetBreak(int pKeyIndex, bool pVal) {
NativeMethods.FbxAnimCurve_KeySetBreak(swigCPtr, pKeyIndex, pVal);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual bool KeyGetBreak(int pKeyIndex) {
bool ret = NativeMethods.FbxAnimCurve_KeyGetBreak(swigCPtr, pKeyIndex);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual float KeyGetLeftDerivative(int pIndex) {
float ret = NativeMethods.FbxAnimCurve_KeyGetLeftDerivative(swigCPtr, pIndex);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual void KeySetLeftDerivative(int pIndex, float pValue) {
NativeMethods.FbxAnimCurve_KeySetLeftDerivative(swigCPtr, pIndex, pValue);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual float KeyGetLeftAuto(int pIndex, bool pApplyOvershootProtection) {
float ret = NativeMethods.FbxAnimCurve_KeyGetLeftAuto__SWIG_0(swigCPtr, pIndex, pApplyOvershootProtection);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual float KeyGetLeftAuto(int pIndex) {
float ret = NativeMethods.FbxAnimCurve_KeyGetLeftAuto__SWIG_1(swigCPtr, pIndex);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual float KeyGetRightDerivative(int pIndex) {
float ret = NativeMethods.FbxAnimCurve_KeyGetRightDerivative(swigCPtr, pIndex);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual void KeySetRightDerivative(int pIndex, float pValue) {
NativeMethods.FbxAnimCurve_KeySetRightDerivative(swigCPtr, pIndex, pValue);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual float KeyGetRightAuto(int pIndex, bool pApplyOvershootProtection) {
float ret = NativeMethods.FbxAnimCurve_KeyGetRightAuto__SWIG_0(swigCPtr, pIndex, pApplyOvershootProtection);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual float KeyGetRightAuto(int pIndex) {
float ret = NativeMethods.FbxAnimCurve_KeyGetRightAuto__SWIG_1(swigCPtr, pIndex);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual bool KeyIsLeftTangentWeighted(int pIndex) {
bool ret = NativeMethods.FbxAnimCurve_KeyIsLeftTangentWeighted(swigCPtr, pIndex);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual bool KeyIsRightTangentWeighted(int pIndex) {
bool ret = NativeMethods.FbxAnimCurve_KeyIsRightTangentWeighted(swigCPtr, pIndex);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual float KeyGetLeftTangentWeight(int pIndex) {
float ret = NativeMethods.FbxAnimCurve_KeyGetLeftTangentWeight(swigCPtr, pIndex);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual float KeyGetRightTangentWeight(int pIndex) {
float ret = NativeMethods.FbxAnimCurve_KeyGetRightTangentWeight(swigCPtr, pIndex);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual void KeySetLeftTangentWeight(int pIndex, float pWeight, bool pAdjustTan) {
NativeMethods.FbxAnimCurve_KeySetLeftTangentWeight__SWIG_0(swigCPtr, pIndex, pWeight, pAdjustTan);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual void KeySetLeftTangentWeight(int pIndex, float pWeight) {
NativeMethods.FbxAnimCurve_KeySetLeftTangentWeight__SWIG_1(swigCPtr, pIndex, pWeight);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual void KeySetRightTangentWeight(int pIndex, float pWeight, bool pAdjustTan) {
NativeMethods.FbxAnimCurve_KeySetRightTangentWeight__SWIG_0(swigCPtr, pIndex, pWeight, pAdjustTan);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual void KeySetRightTangentWeight(int pIndex, float pWeight) {
NativeMethods.FbxAnimCurve_KeySetRightTangentWeight__SWIG_1(swigCPtr, pIndex, pWeight);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual float KeyGetLeftTangentVelocity(int pIndex) {
float ret = NativeMethods.FbxAnimCurve_KeyGetLeftTangentVelocity(swigCPtr, pIndex);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual float KeyGetRightTangentVelocity(int pIndex) {
float ret = NativeMethods.FbxAnimCurve_KeyGetRightTangentVelocity(swigCPtr, pIndex);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxAnimCurve other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxAnimCurve;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxAnimCurve).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxAnimCurve a, FbxAnimCurve b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxAnimCurve a, FbxAnimCurve b) {
return !(a == b);
}
public static new FbxAnimCurve Create(FbxManager pManager, string pName) {
throw new System.NotImplementedException("FbxAnimCurve can only be created with a scene as argument.");
}
public static new FbxAnimCurve Create(FbxObject pContainer, string pName) {
throw new System.NotImplementedException("FbxAnimCurve can only be created with a scene as argument.");
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 1efa8d6b8ca22438abd22afa899641fc
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,98 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxAnimCurveBase : FbxObject {
internal FbxAnimCurveBase(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public virtual void KeyClear() {
NativeMethods.FbxAnimCurveBase_KeyClear(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual int KeyGetCount() {
int ret = NativeMethods.FbxAnimCurveBase_KeyGetCount(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual bool KeyRemove(int pIndex) {
bool ret = NativeMethods.FbxAnimCurveBase_KeyRemove__SWIG_0(swigCPtr, pIndex);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual bool KeyRemove(int pStartIndex, int pEndIndex) {
bool ret = NativeMethods.FbxAnimCurveBase_KeyRemove__SWIG_1(swigCPtr, pStartIndex, pEndIndex);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual FbxTime KeyGetTime(int arg0) {
FbxTime ret = new FbxTime(NativeMethods.FbxAnimCurveBase_KeyGetTime(swigCPtr, arg0), true);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual void KeySetTime(int pKeyIndex, FbxTime pTime) {
NativeMethods.FbxAnimCurveBase_KeySetTime(swigCPtr, pKeyIndex, FbxTime.getCPtr(pTime));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxAnimCurveBase other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxAnimCurveBase;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxAnimCurveBase).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxAnimCurveBase a, FbxAnimCurveBase b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxAnimCurveBase a, FbxAnimCurveBase b) {
return !(a == b);
}
public static new FbxAnimCurveBase Create(FbxManager pManager, string pName) {
throw new System.NotImplementedException("FbxAnimCurveBase is abstract; create FbxAnimCurve instead");
}
public static new FbxAnimCurveBase Create(FbxObject pContainer, string pName) {
throw new System.NotImplementedException("FbxAnimCurveBase is abstract; create FbxAnimCurve instead");
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 1d746988b2a3a4e1c97762612b292ee0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,102 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public static class FbxAnimCurveDef {
// virtual void Dispose() { }
public static float sDEFAULT_WEIGHT {
get {
float ret = NativeMethods.FbxAnimCurveDef_sDEFAULT_WEIGHT_get();
return ret;
}
}
public static float sMIN_WEIGHT {
get {
float ret = NativeMethods.FbxAnimCurveDef_sMIN_WEIGHT_get();
return ret;
}
}
public static float sMAX_WEIGHT {
get {
float ret = NativeMethods.FbxAnimCurveDef_sMAX_WEIGHT_get();
return ret;
}
}
public static float sDEFAULT_VELOCITY {
get {
float ret = NativeMethods.FbxAnimCurveDef_sDEFAULT_VELOCITY_get();
return ret;
}
}
public enum ETangentMode {
eTangentAuto = 0x00000100,
eTangentTCB = 0x00000200,
eTangentUser = 0x00000400,
eTangentGenericBreak = 0x00000800,
eTangentBreak = eTangentGenericBreak|eTangentUser,
eTangentAutoBreak = eTangentGenericBreak|eTangentAuto,
eTangentGenericClamp = 0x00001000,
eTangentGenericTimeIndependent = 0x00002000,
eTangentGenericClampProgressive = 0x00004000|eTangentGenericTimeIndependent
}
public enum EInterpolationType {
eInterpolationConstant = 0x00000002,
eInterpolationLinear = 0x00000004,
eInterpolationCubic = 0x00000008
}
public enum EWeightedMode {
eWeightedNone = 0x00000000,
eWeightedRight = 0x01000000,
eWeightedNextLeft = 0x02000000,
eWeightedAll = eWeightedRight|eWeightedNextLeft
}
public enum EVelocityMode {
eVelocityNone = 0x00000000,
eVelocityRight = 0x10000000,
eVelocityNextLeft = 0x20000000,
eVelocityAll = eVelocityRight|eVelocityNextLeft
}
public enum ETangentVisibility {
eTangentShowNone = 0x00000000,
eTangentShowLeft = 0x00100000,
eTangentShowRight = 0x00200000,
eTangentShowBoth = eTangentShowLeft|eTangentShowRight
}
public enum EDataIndex {
eRightSlope = 0,
eNextLeftSlope = 1,
eWeights = 2,
eRightWeight = 2,
eNextLeftWeight = 3,
eVelocity = 4,
eRightVelocity = 4,
eNextLeftVelocity = 5,
eTCBTension = 0,
eTCBContinuity = 1,
eTCBBias = 2
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 0f55da9345195482ca83fe318ad2915b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,80 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxAnimCurveFilterUnroll : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
internal FbxAnimCurveFilterUnroll(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FbxAnimCurveFilterUnroll obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
~FbxAnimCurveFilterUnroll() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
NativeMethods.delete_FbxAnimCurveFilterUnroll(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
}
}
public FbxAnimCurveFilterUnroll() : this(NativeMethods.new_FbxAnimCurveFilterUnroll(), true) {
}
public bool NeedApply(FbxAnimCurveNode pCurveNode, FbxStatus pStatus) {
bool ret = NativeMethods.FbxAnimCurveFilterUnroll_NeedApply__SWIG_0(swigCPtr, FbxAnimCurveNode.getCPtr(pCurveNode), FbxStatus.getCPtr(pStatus));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public bool NeedApply(FbxAnimCurveNode pCurveNode) {
bool ret = NativeMethods.FbxAnimCurveFilterUnroll_NeedApply__SWIG_1(swigCPtr, FbxAnimCurveNode.getCPtr(pCurveNode));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public bool Apply(FbxAnimCurveNode pCurveNode, FbxStatus pStatus) {
bool ret = NativeMethods.FbxAnimCurveFilterUnroll_Apply__SWIG_0(swigCPtr, FbxAnimCurveNode.getCPtr(pCurveNode), FbxStatus.getCPtr(pStatus));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public bool Apply(FbxAnimCurveNode pCurveNode) {
bool ret = NativeMethods.FbxAnimCurveFilterUnroll_Apply__SWIG_1(swigCPtr, FbxAnimCurveNode.getCPtr(pCurveNode));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void Reset() {
NativeMethods.FbxAnimCurveFilterUnroll_Reset(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: af681896f89964e9a97b826f041e13e1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,131 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxAnimCurveKey : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
internal FbxAnimCurveKey(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FbxAnimCurveKey obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
throw new global::System.MethodAccessException("C++ destructor does not have public access");
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
}
}
public FbxAnimCurveDef.ETangentMode GetTangentMode(bool pIncludeOverrides) {
FbxAnimCurveDef.ETangentMode ret = (FbxAnimCurveDef.ETangentMode)NativeMethods.FbxAnimCurveKey_GetTangentMode__SWIG_0(swigCPtr, pIncludeOverrides);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxAnimCurveDef.ETangentMode GetTangentMode() {
FbxAnimCurveDef.ETangentMode ret = (FbxAnimCurveDef.ETangentMode)NativeMethods.FbxAnimCurveKey_GetTangentMode__SWIG_1(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetTangentMode(FbxAnimCurveDef.ETangentMode pTangentMode) {
NativeMethods.FbxAnimCurveKey_SetTangentMode(swigCPtr, (int)pTangentMode);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public FbxAnimCurveDef.EWeightedMode GetTangentWeightMode() {
FbxAnimCurveDef.EWeightedMode ret = (FbxAnimCurveDef.EWeightedMode)NativeMethods.FbxAnimCurveKey_GetTangentWeightMode(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetTangentWeightMode(FbxAnimCurveDef.EWeightedMode pTangentWeightMode, FbxAnimCurveDef.EWeightedMode pMask) {
NativeMethods.FbxAnimCurveKey_SetTangentWeightMode__SWIG_0(swigCPtr, (int)pTangentWeightMode, (int)pMask);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void SetTangentWeightMode(FbxAnimCurveDef.EWeightedMode pTangentWeightMode) {
NativeMethods.FbxAnimCurveKey_SetTangentWeightMode__SWIG_1(swigCPtr, (int)pTangentWeightMode);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void SetTangentWeightAndAdjustTangent(FbxAnimCurveDef.EDataIndex pIndex, double pWeight) {
NativeMethods.FbxAnimCurveKey_SetTangentWeightAndAdjustTangent(swigCPtr, (int)pIndex, pWeight);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public FbxAnimCurveDef.EVelocityMode GetTangentVelocityMode() {
FbxAnimCurveDef.EVelocityMode ret = (FbxAnimCurveDef.EVelocityMode)NativeMethods.FbxAnimCurveKey_GetTangentVelocityMode(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetTangentVelocityMode(FbxAnimCurveDef.EVelocityMode pTangentVelocityMode, FbxAnimCurveDef.EVelocityMode pMask) {
NativeMethods.FbxAnimCurveKey_SetTangentVelocityMode__SWIG_0(swigCPtr, (int)pTangentVelocityMode, (int)pMask);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void SetTangentVelocityMode(FbxAnimCurveDef.EVelocityMode pTangentVelocityMode) {
NativeMethods.FbxAnimCurveKey_SetTangentVelocityMode__SWIG_1(swigCPtr, (int)pTangentVelocityMode);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public float GetDataFloat(FbxAnimCurveDef.EDataIndex pIndex) {
float ret = NativeMethods.FbxAnimCurveKey_GetDataFloat(swigCPtr, (int)pIndex);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetDataFloat(FbxAnimCurveDef.EDataIndex pIndex, float pValue) {
NativeMethods.FbxAnimCurveKey_SetDataFloat(swigCPtr, (int)pIndex, pValue);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void SetTangentVisibility(FbxAnimCurveDef.ETangentVisibility pVisibility) {
NativeMethods.FbxAnimCurveKey_SetTangentVisibility(swigCPtr, (int)pVisibility);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public FbxAnimCurveDef.ETangentVisibility GetTangentVisibility() {
FbxAnimCurveDef.ETangentVisibility ret = (FbxAnimCurveDef.ETangentVisibility)NativeMethods.FbxAnimCurveKey_GetTangentVisibility(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetBreak(bool pVal) {
NativeMethods.FbxAnimCurveKey_SetBreak(swigCPtr, pVal);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public bool GetBreak() {
bool ret = NativeMethods.FbxAnimCurveKey_GetBreak(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 47b6f197e5944c31aa34409dd6fa8c3f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,202 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxAnimCurveNode : FbxObject {
internal FbxAnimCurveNode(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public new static FbxAnimCurveNode Create(FbxManager pManager, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxAnimCurveNode_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
FbxAnimCurveNode ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxAnimCurveNode(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public new static FbxAnimCurveNode Create(FbxObject pContainer, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxAnimCurveNode_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
FbxAnimCurveNode ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxAnimCurveNode(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public bool IsAnimated(bool pRecurse) {
bool ret = NativeMethods.FbxAnimCurveNode_IsAnimated__SWIG_0(swigCPtr, pRecurse);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public bool IsAnimated() {
bool ret = NativeMethods.FbxAnimCurveNode_IsAnimated__SWIG_1(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public bool GetAnimationInterval(FbxTimeSpan pTimeInterval) {
bool ret = NativeMethods.FbxAnimCurveNode_GetAnimationInterval(swigCPtr, FbxTimeSpan.getCPtr(pTimeInterval));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public bool IsComposite() {
bool ret = NativeMethods.FbxAnimCurveNode_IsComposite(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public static FbxAnimCurveNode CreateTypedCurveNode(FbxProperty pProperty, FbxScene pScene) {
global::System.IntPtr cPtr = NativeMethods.FbxAnimCurveNode_CreateTypedCurveNode(FbxProperty.getCPtr(pProperty), FbxScene.getCPtr(pScene));
FbxAnimCurveNode ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxAnimCurveNode(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public uint GetChannelsCount() {
uint ret = NativeMethods.FbxAnimCurveNode_GetChannelsCount(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public int GetChannelIndex(string pChannelName) {
int ret = NativeMethods.FbxAnimCurveNode_GetChannelIndex(swigCPtr, pChannelName);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public string GetChannelName(int pChannelId) {
string ret = NativeMethods.FbxAnimCurveNode_GetChannelName(swigCPtr, pChannelId);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxAnimCurve CreateCurve(string pCurveNodeName, string pChannel) {
global::System.IntPtr cPtr = NativeMethods.FbxAnimCurveNode_CreateCurve__SWIG_0(swigCPtr, pCurveNodeName, pChannel);
FbxAnimCurve ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxAnimCurve(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxAnimCurve CreateCurve(string pCurveNodeName, uint pChannelId) {
global::System.IntPtr cPtr = NativeMethods.FbxAnimCurveNode_CreateCurve__SWIG_1(swigCPtr, pCurveNodeName, pChannelId);
FbxAnimCurve ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxAnimCurve(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxAnimCurve CreateCurve(string pCurveNodeName) {
global::System.IntPtr cPtr = NativeMethods.FbxAnimCurveNode_CreateCurve__SWIG_2(swigCPtr, pCurveNodeName);
FbxAnimCurve ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxAnimCurve(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public int GetCurveCount(uint pChannelId, string pCurveNodeName) {
int ret = NativeMethods.FbxAnimCurveNode_GetCurveCount__SWIG_0(swigCPtr, pChannelId, pCurveNodeName);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public int GetCurveCount(uint pChannelId) {
int ret = NativeMethods.FbxAnimCurveNode_GetCurveCount__SWIG_1(swigCPtr, pChannelId);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxAnimCurve GetCurve(uint pChannelId, uint pId, string pCurveNodeName) {
global::System.IntPtr cPtr = NativeMethods.FbxAnimCurveNode_GetCurve__SWIG_0(swigCPtr, pChannelId, pId, pCurveNodeName);
FbxAnimCurve ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxAnimCurve(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxAnimCurve GetCurve(uint pChannelId, uint pId) {
global::System.IntPtr cPtr = NativeMethods.FbxAnimCurveNode_GetCurve__SWIG_1(swigCPtr, pChannelId, pId);
FbxAnimCurve ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxAnimCurve(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxAnimCurve GetCurve(uint pChannelId) {
global::System.IntPtr cPtr = NativeMethods.FbxAnimCurveNode_GetCurve__SWIG_2(swigCPtr, pChannelId);
FbxAnimCurve ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxAnimCurve(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxAnimCurveNode other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxAnimCurveNode;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxAnimCurveNode).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxAnimCurveNode a, FbxAnimCurveNode b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxAnimCurveNode a, FbxAnimCurveNode b) {
return !(a == b);
}
public bool AddChannel(string pChnlName, float pValue) {
bool ret = NativeMethods.FbxAnimCurveNode_AddChannel(swigCPtr, pChnlName, pValue);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetChannelValue(string pChnlName, float pValue) {
NativeMethods.FbxAnimCurveNode_SetChannelValue__SWIG_2(swigCPtr, pChnlName, pValue);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void SetChannelValue(uint pChnlId, float pValue) {
NativeMethods.FbxAnimCurveNode_SetChannelValue__SWIG_3(swigCPtr, pChnlId, pValue);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public float GetChannelValue(string pChnlName, float pInitVal) {
float ret = NativeMethods.FbxAnimCurveNode_GetChannelValue__SWIG_2(swigCPtr, pChnlName, pInitVal);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public float GetChannelValue(uint pChnlId, float pInitVal) {
float ret = NativeMethods.FbxAnimCurveNode_GetChannelValue__SWIG_3(swigCPtr, pChnlId, pInitVal);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7af29ccd4b54d4bcf894448cf1a55099
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,71 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxAnimLayer : FbxCollection {
internal FbxAnimLayer(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public new static FbxAnimLayer Create(FbxManager pManager, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxAnimLayer_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
FbxAnimLayer ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxAnimLayer(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public new static FbxAnimLayer Create(FbxObject pContainer, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxAnimLayer_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
FbxAnimLayer ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxAnimLayer(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxAnimLayer other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxAnimLayer;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxAnimLayer).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxAnimLayer a, FbxAnimLayer b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxAnimLayer a, FbxAnimLayer b) {
return !(a == b);
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c8adf342fb1024782b4075c309e991c2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,90 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxAnimStack : FbxCollection {
internal FbxAnimStack(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public new static FbxAnimStack Create(FbxManager pManager, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxAnimStack_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
FbxAnimStack ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxAnimStack(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public new static FbxAnimStack Create(FbxObject pContainer, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxAnimStack_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
FbxAnimStack ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxAnimStack(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxPropertyString Description {
get {
FbxPropertyString ret = new FbxPropertyString(NativeMethods.FbxAnimStack_Description_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxTimeSpan GetLocalTimeSpan() {
FbxTimeSpan ret = new FbxTimeSpan(NativeMethods.FbxAnimStack_GetLocalTimeSpan(swigCPtr), true);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetLocalTimeSpan(FbxTimeSpan pTimeSpan) {
NativeMethods.FbxAnimStack_SetLocalTimeSpan(swigCPtr, FbxTimeSpan.getCPtr(pTimeSpan));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxAnimStack other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxAnimStack;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxAnimStack).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxAnimStack a, FbxAnimStack b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxAnimStack a, FbxAnimStack b) {
return !(a == b);
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 861cbcaf0a75e41ce9e9b00422f3051d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,205 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxAxisSystem : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
internal FbxAxisSystem(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FbxAxisSystem obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
~FbxAxisSystem() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
NativeMethods.delete_FbxAxisSystem(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
}
}
public FbxAxisSystem() : this(NativeMethods.new_FbxAxisSystem__SWIG_0(), true) {
}
public FbxAxisSystem(EUpVector pUpVector, EFrontVector pFrontVector, FbxAxisSystem.ECoordSystem pCoorSystem) : this(NativeMethods.new_FbxAxisSystem__SWIG_1((int)pUpVector, (int)pFrontVector, (int)pCoorSystem), true) {
}
public FbxAxisSystem(FbxAxisSystem pAxisSystem) : this(NativeMethods.new_FbxAxisSystem__SWIG_2(FbxAxisSystem.getCPtr(pAxisSystem)), true) {
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public FbxAxisSystem(FbxAxisSystem.EPreDefinedAxisSystem pAxisSystem) : this(NativeMethods.new_FbxAxisSystem__SWIG_3((int)pAxisSystem), true) {
}
private bool _equals(FbxAxisSystem pAxisSystem) {
bool ret = NativeMethods.FbxAxisSystem__equals(swigCPtr, FbxAxisSystem.getCPtr(pAxisSystem));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public static FbxAxisSystem MayaZUp {
get {
FbxAxisSystem ret = new FbxAxisSystem(NativeMethods.FbxAxisSystem_MayaZUp_get(), false);
return ret;
}
}
public static FbxAxisSystem MayaYUp {
get {
FbxAxisSystem ret = new FbxAxisSystem(NativeMethods.FbxAxisSystem_MayaYUp_get(), false);
return ret;
}
}
public static FbxAxisSystem Max {
get {
FbxAxisSystem ret = new FbxAxisSystem(NativeMethods.FbxAxisSystem_Max_get(), false);
return ret;
}
}
public static FbxAxisSystem Motionbuilder {
get {
FbxAxisSystem ret = new FbxAxisSystem(NativeMethods.FbxAxisSystem_Motionbuilder_get(), false);
return ret;
}
}
public static FbxAxisSystem OpenGL {
get {
FbxAxisSystem ret = new FbxAxisSystem(NativeMethods.FbxAxisSystem_OpenGL_get(), false);
return ret;
}
}
public static FbxAxisSystem DirectX {
get {
FbxAxisSystem ret = new FbxAxisSystem(NativeMethods.FbxAxisSystem_DirectX_get(), false);
return ret;
}
}
public static FbxAxisSystem Lightwave {
get {
FbxAxisSystem ret = new FbxAxisSystem(NativeMethods.FbxAxisSystem_Lightwave_get(), false);
return ret;
}
}
public void DeepConvertScene(FbxScene pScene) {
NativeMethods.FbxAxisSystem_DeepConvertScene(swigCPtr, FbxScene.getCPtr(pScene));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void ConvertScene(FbxScene pScene) {
NativeMethods.FbxAxisSystem_ConvertScene(swigCPtr, FbxScene.getCPtr(pScene));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public FbxAxisSystem.ECoordSystem GetCoorSystem() {
FbxAxisSystem.ECoordSystem ret = (FbxAxisSystem.ECoordSystem)NativeMethods.FbxAxisSystem_GetCoorSystem(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public enum EUpVector {
eXAxis = 1, eXAxisDown = -1,
eYAxis = 2, eYAxisDown = -2,
eZAxis = 3, eZAxisDown = -3,
};
public enum EFrontVector {
eParityEven = 1, eParityEvenNegative = -1,
eParityOdd = 2, eParityOddNegative = -2,
};
public EUpVector GetUpVector() {
EUpVector result = (EUpVector)NativeMethods.FbxAxisSystem_GetUpVector(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();;
return result;
}
public EFrontVector GetFrontVector() {
EFrontVector result = (EFrontVector)NativeMethods.FbxAxisSystem_GetFrontVector(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();;
return result;
}
public bool Equals(FbxAxisSystem other) {
if (object.ReferenceEquals(other, null)) { return false; }
return _equals(other);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxAxisSystem;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxAxisSystem).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxAxisSystem a, FbxAxisSystem b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxAxisSystem a, FbxAxisSystem b) {
return !(a == b);
}
public override int GetHashCode() {
int ret = NativeMethods.FbxAxisSystem_GetHashCode(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public enum ECoordSystem {
eRightHanded,
eLeftHanded
}
public enum EPreDefinedAxisSystem {
eMayaZUp,
eMayaYUp,
eMax,
eMotionBuilder,
eOpenGL,
eDirectX,
eLightwave
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 950a31935368d49f59166c47a38dbb1c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,95 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxBindingTable : FbxBindingTableBase {
internal FbxBindingTable(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public new static FbxBindingTable Create(FbxManager pManager, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxBindingTable_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
FbxBindingTable ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxBindingTable(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public new static FbxBindingTable Create(FbxObject pContainer, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxBindingTable_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
FbxBindingTable ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxBindingTable(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxPropertyString DescRelativeURL {
get {
FbxPropertyString ret = new FbxPropertyString(NativeMethods.FbxBindingTable_DescRelativeURL_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyString DescAbsoluteURL {
get {
FbxPropertyString ret = new FbxPropertyString(NativeMethods.FbxBindingTable_DescAbsoluteURL_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyString DescTAG {
get {
FbxPropertyString ret = new FbxPropertyString(NativeMethods.FbxBindingTable_DescTAG_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxBindingTable other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxBindingTable;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxBindingTable).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxBindingTable a, FbxBindingTable b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxBindingTable a, FbxBindingTable b) {
return !(a == b);
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b05b462869f0e48b2ab5bd44bf251bff
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,63 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxBindingTableBase : FbxObject {
internal FbxBindingTableBase(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public FbxBindingTableEntry AddNewEntry() {
FbxBindingTableEntry ret = new FbxBindingTableEntry(NativeMethods.FbxBindingTableBase_AddNewEntry(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxBindingTableBase other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxBindingTableBase;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxBindingTableBase).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxBindingTableBase a, FbxBindingTableBase b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxBindingTableBase a, FbxBindingTableBase b) {
return !(a == b);
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4c4d8af364eb14c128cb66127b44ce3c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,44 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxBindingTableEntry : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
internal FbxBindingTableEntry(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FbxBindingTableEntry obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
throw new global::System.MethodAccessException("C++ destructor does not have public access");
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
}
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 5f726efa8171b4ad2ac94a2f39c017c7
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,110 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxBlendShape : FbxDeformer {
internal FbxBlendShape(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public new static FbxBlendShape Create(FbxManager pManager, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxBlendShape_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
FbxBlendShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxBlendShape(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public new static FbxBlendShape Create(FbxObject pContainer, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxBlendShape_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
FbxBlendShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxBlendShape(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public bool SetGeometry(FbxGeometry pGeometry) {
bool ret = NativeMethods.FbxBlendShape_SetGeometry(swigCPtr, FbxGeometry.getCPtr(pGeometry));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxGeometry GetGeometry() {
global::System.IntPtr cPtr = NativeMethods.FbxBlendShape_GetGeometry(swigCPtr);
FbxGeometry ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxGeometry(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public bool AddBlendShapeChannel(FbxBlendShapeChannel pBlendShapeChannel) {
bool ret = NativeMethods.FbxBlendShape_AddBlendShapeChannel(swigCPtr, FbxBlendShapeChannel.getCPtr(pBlendShapeChannel));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxBlendShapeChannel RemoveBlendShapeChannel(FbxBlendShapeChannel pBlendShapeChannel) {
global::System.IntPtr cPtr = NativeMethods.FbxBlendShape_RemoveBlendShapeChannel(swigCPtr, FbxBlendShapeChannel.getCPtr(pBlendShapeChannel));
FbxBlendShapeChannel ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxBlendShapeChannel(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public int GetBlendShapeChannelCount() {
int ret = NativeMethods.FbxBlendShape_GetBlendShapeChannelCount(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxBlendShapeChannel GetBlendShapeChannel(int pIndex) {
global::System.IntPtr cPtr = NativeMethods.FbxBlendShape_GetBlendShapeChannel(swigCPtr, pIndex);
FbxBlendShapeChannel ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxBlendShapeChannel(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxBlendShape other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxBlendShape;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxBlendShape).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxBlendShape a, FbxBlendShape b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxBlendShape a, FbxBlendShape b) {
return !(a == b);
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d785c46df19794ae9abd0994ec1796d2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,130 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxBlendShapeChannel : FbxSubDeformer {
internal FbxBlendShapeChannel(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public new static FbxBlendShapeChannel Create(FbxManager pManager, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxBlendShapeChannel_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
FbxBlendShapeChannel ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxBlendShapeChannel(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public new static FbxBlendShapeChannel Create(FbxObject pContainer, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxBlendShapeChannel_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
FbxBlendShapeChannel ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxBlendShapeChannel(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxPropertyDouble DeformPercent {
get {
FbxPropertyDouble ret = new FbxPropertyDouble(NativeMethods.FbxBlendShapeChannel_DeformPercent_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public bool SetBlendShapeDeformer(FbxBlendShape pBlendShape) {
bool ret = NativeMethods.FbxBlendShapeChannel_SetBlendShapeDeformer(swigCPtr, FbxBlendShape.getCPtr(pBlendShape));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxBlendShape GetBlendShapeDeformer() {
global::System.IntPtr cPtr = NativeMethods.FbxBlendShapeChannel_GetBlendShapeDeformer(swigCPtr);
FbxBlendShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxBlendShape(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public bool AddTargetShape(FbxShape pShape, double pFullDeformPercent) {
bool ret = NativeMethods.FbxBlendShapeChannel_AddTargetShape__SWIG_0(swigCPtr, FbxShape.getCPtr(pShape), pFullDeformPercent);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public bool AddTargetShape(FbxShape pShape) {
bool ret = NativeMethods.FbxBlendShapeChannel_AddTargetShape__SWIG_1(swigCPtr, FbxShape.getCPtr(pShape));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxShape RemoveTargetShape(FbxShape pShape) {
global::System.IntPtr cPtr = NativeMethods.FbxBlendShapeChannel_RemoveTargetShape(swigCPtr, FbxShape.getCPtr(pShape));
FbxShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxShape(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public int GetTargetShapeCount() {
int ret = NativeMethods.FbxBlendShapeChannel_GetTargetShapeCount(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxShape GetTargetShape(int pIndex) {
global::System.IntPtr cPtr = NativeMethods.FbxBlendShapeChannel_GetTargetShape(swigCPtr, pIndex);
FbxShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxShape(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public int GetTargetShapeIndex(FbxShape pShape) {
int ret = NativeMethods.FbxBlendShapeChannel_GetTargetShapeIndex(swigCPtr, FbxShape.getCPtr(pShape));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxBlendShapeChannel other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxBlendShapeChannel;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxBlendShapeChannel).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxBlendShapeChannel a, FbxBlendShapeChannel b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxBlendShapeChannel a, FbxBlendShapeChannel b) {
return !(a == b);
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 2678b2c014d704d3a896e621ee361c8e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,268 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxCamera : FbxNodeAttribute {
internal FbxCamera(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public new static FbxCamera Create(FbxManager pManager, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxCamera_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
FbxCamera ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxCamera(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public new static FbxCamera Create(FbxObject pContainer, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxCamera_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
FbxCamera ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxCamera(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetAspect(FbxCamera.EAspectRatioMode pRatioMode, double pWidth, double pHeight) {
NativeMethods.FbxCamera_SetAspect(swigCPtr, (int)pRatioMode, pWidth, pHeight);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public FbxCamera.EAspectRatioMode GetAspectRatioMode() {
FbxCamera.EAspectRatioMode ret = (FbxCamera.EAspectRatioMode)NativeMethods.FbxCamera_GetAspectRatioMode(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetNearPlane(double pDistance) {
NativeMethods.FbxCamera_SetNearPlane(swigCPtr, pDistance);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public double GetNearPlane() {
double ret = NativeMethods.FbxCamera_GetNearPlane(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetFarPlane(double pDistance) {
NativeMethods.FbxCamera_SetFarPlane(swigCPtr, pDistance);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public double GetFarPlane() {
double ret = NativeMethods.FbxCamera_GetFarPlane(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetApertureMode(FbxCamera.EApertureMode pMode) {
NativeMethods.FbxCamera_SetApertureMode(swigCPtr, (int)pMode);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public FbxCamera.EApertureMode GetApertureMode() {
FbxCamera.EApertureMode ret = (FbxCamera.EApertureMode)NativeMethods.FbxCamera_GetApertureMode(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetApertureWidth(double pWidth) {
NativeMethods.FbxCamera_SetApertureWidth(swigCPtr, pWidth);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public double GetApertureWidth() {
double ret = NativeMethods.FbxCamera_GetApertureWidth(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetApertureHeight(double pHeight) {
NativeMethods.FbxCamera_SetApertureHeight(swigCPtr, pHeight);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public double GetApertureHeight() {
double ret = NativeMethods.FbxCamera_GetApertureHeight(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public double ComputeFocalLength(double pAngleOfView) {
double ret = NativeMethods.FbxCamera_ComputeFocalLength(swigCPtr, pAngleOfView);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxPropertyDouble AspectWidth {
get {
FbxPropertyDouble ret = new FbxPropertyDouble(NativeMethods.FbxCamera_AspectWidth_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyDouble AspectHeight {
get {
FbxPropertyDouble ret = new FbxPropertyDouble(NativeMethods.FbxCamera_AspectHeight_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyEGateFit GateFit {
get {
FbxPropertyEGateFit ret = new FbxPropertyEGateFit(NativeMethods.FbxCamera_GateFit_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyDouble FieldOfView {
get {
FbxPropertyDouble ret = new FbxPropertyDouble(NativeMethods.FbxCamera_FieldOfView_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyDouble FocalLength {
get {
FbxPropertyDouble ret = new FbxPropertyDouble(NativeMethods.FbxCamera_FocalLength_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyDouble NearPlane {
get {
FbxPropertyDouble ret = new FbxPropertyDouble(NativeMethods.FbxCamera_NearPlane_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyDouble FilmAspectRatio {
get {
FbxPropertyDouble ret = new FbxPropertyDouble(NativeMethods.FbxCamera_FilmAspectRatio_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyDouble FilmOffsetX {
get {
FbxPropertyDouble ret = new FbxPropertyDouble(NativeMethods.FbxCamera_FilmOffsetX_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyDouble FilmOffsetY {
get {
FbxPropertyDouble ret = new FbxPropertyDouble(NativeMethods.FbxCamera_FilmOffsetY_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyEProjectionType ProjectionType {
get {
FbxPropertyEProjectionType ret = new FbxPropertyEProjectionType(NativeMethods.FbxCamera_ProjectionType_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool UseDepthOfField {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxCamera_UseDepthOfField_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyDouble FocusDistance {
get {
FbxPropertyDouble ret = new FbxPropertyDouble(NativeMethods.FbxCamera_FocusDistance_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxCamera other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxCamera;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxCamera).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxCamera a, FbxCamera b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxCamera a, FbxCamera b) {
return !(a == b);
}
public enum EProjectionType {
ePerspective,
eOrthogonal
}
public enum EAspectRatioMode {
eWindowSize,
eFixedRatio,
eFixedResolution,
eFixedWidth,
eFixedHeight
}
public enum EApertureMode {
eHorizAndVert,
eHorizontal,
eVertical,
eFocalLength
}
public enum EGateFit {
eFitNone,
eFitVertical,
eFitHorizontal,
eFitFill,
eFitOverscan,
eFitStretch
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 070411e8738fa4fbc8f89614946c4c06
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,150 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxCluster : FbxSubDeformer {
internal FbxCluster(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public new static FbxCluster Create(FbxManager pManager, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxCluster_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
FbxCluster ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxCluster(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public new static FbxCluster Create(FbxObject pContainer, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxCluster_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
FbxCluster ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxCluster(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetLinkMode(FbxCluster.ELinkMode pMode) {
NativeMethods.FbxCluster_SetLinkMode(swigCPtr, (int)pMode);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public FbxCluster.ELinkMode GetLinkMode() {
FbxCluster.ELinkMode ret = (FbxCluster.ELinkMode)NativeMethods.FbxCluster_GetLinkMode(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetLink(FbxNode pNode) {
NativeMethods.FbxCluster_SetLink(swigCPtr, FbxNode.getCPtr(pNode));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public FbxNode GetLink() {
global::System.IntPtr cPtr = NativeMethods.FbxCluster_GetLink(swigCPtr);
FbxNode ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxNode(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void AddControlPointIndex(int pIndex, double pWeight) {
NativeMethods.FbxCluster_AddControlPointIndex(swigCPtr, pIndex, pWeight);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public int GetControlPointIndicesCount() {
int ret = NativeMethods.FbxCluster_GetControlPointIndicesCount(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetControlPointIWCount(int pCount) {
NativeMethods.FbxCluster_SetControlPointIWCount(swigCPtr, pCount);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void SetTransformMatrix(FbxAMatrix pMatrix) {
NativeMethods.FbxCluster_SetTransformMatrix(swigCPtr, FbxAMatrix.getCPtr(pMatrix));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public FbxAMatrix GetTransformMatrix(FbxAMatrix pMatrix) {
FbxAMatrix ret = new FbxAMatrix(NativeMethods.FbxCluster_GetTransformMatrix(swigCPtr, FbxAMatrix.getCPtr(pMatrix)), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetTransformLinkMatrix(FbxAMatrix pMatrix) {
NativeMethods.FbxCluster_SetTransformLinkMatrix(swigCPtr, FbxAMatrix.getCPtr(pMatrix));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public FbxAMatrix GetTransformLinkMatrix(FbxAMatrix pMatrix) {
FbxAMatrix ret = new FbxAMatrix(NativeMethods.FbxCluster_GetTransformLinkMatrix(swigCPtr, FbxAMatrix.getCPtr(pMatrix)), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxCluster other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxCluster;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxCluster).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxCluster a, FbxCluster b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxCluster a, FbxCluster b) {
return !(a == b);
}
public int GetControlPointIndexAt(int index) {
int ret = NativeMethods.FbxCluster_GetControlPointIndexAt(swigCPtr, index);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public double GetControlPointWeightAt(int index) {
double ret = NativeMethods.FbxCluster_GetControlPointWeightAt(swigCPtr, index);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public enum ELinkMode {
eNormalize,
eAdditive,
eTotalOne
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 1b8c04dac83884783bfd9e20c6bc12e9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,128 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxCollection : FbxObject {
internal FbxCollection(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public new static FbxCollection Create(FbxManager pManager, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxCollection_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
FbxCollection ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxCollection(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public new static FbxCollection Create(FbxObject pContainer, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxCollection_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
FbxCollection ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxCollection(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual void Clear() {
NativeMethods.FbxCollection_Clear(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public virtual bool AddMember(FbxObject pMember) {
bool ret = NativeMethods.FbxCollection_AddMember(swigCPtr, FbxObject.getCPtr(pMember));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual bool RemoveMember(FbxObject pMember) {
bool ret = NativeMethods.FbxCollection_RemoveMember(swigCPtr, FbxObject.getCPtr(pMember));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public int GetMemberCount() {
int ret = NativeMethods.FbxCollection_GetMemberCount(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxObject GetMember(int pIndex) {
global::System.IntPtr cPtr = NativeMethods.FbxCollection_GetMember__SWIG_0(swigCPtr, pIndex);
FbxObject ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxObject(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxObject GetMember() {
global::System.IntPtr cPtr = NativeMethods.FbxCollection_GetMember__SWIG_1(swigCPtr);
FbxObject ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxObject(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual bool IsMember(FbxObject pMember) {
bool ret = NativeMethods.FbxCollection_IsMember(swigCPtr, FbxObject.getCPtr(pMember));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxCollection other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxCollection;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxCollection).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxCollection a, FbxCollection b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxCollection a, FbxCollection b) {
return !(a == b);
}
public FbxAnimLayer GetAnimLayerMember(int pIndex) {
global::System.IntPtr cPtr = NativeMethods.FbxCollection_GetAnimLayerMember__SWIG_0(swigCPtr, pIndex);
FbxAnimLayer ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxAnimLayer(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxAnimLayer GetAnimLayerMember() {
global::System.IntPtr cPtr = NativeMethods.FbxCollection_GetAnimLayerMember__SWIG_1(swigCPtr);
FbxAnimLayer ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxAnimLayer(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 177dd9be525754a54bead6b440a4764b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,34 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public static class FbxConnection {
// virtual void Dispose() { }
public enum EType {
eNone = 0,
eSystem = 1 << 0,
eUser = 1 << 1,
eSystemOrUser = eUser|eSystem,
eReference = 1 << 2,
eContains = 1 << 3,
eData = 1 << 4,
eLinkType = eReference|eContains|eData,
eDefault = eUser|eReference,
eUnidirectional = 1 << 7
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 358032f4302d549ddafd46ef3634328d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,139 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxConstraint : FbxObject {
internal FbxConstraint(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public new static FbxConstraint Create(FbxManager pManager, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxConstraint_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
FbxConstraint ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxConstraint(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public new static FbxConstraint Create(FbxObject pContainer, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxConstraint_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
FbxConstraint ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxConstraint(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxPropertyDouble Weight {
get {
FbxPropertyDouble ret = new FbxPropertyDouble(NativeMethods.FbxConstraint_Weight_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool Active {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraint_Active_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool Lock {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraint_Lock_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public virtual FbxConstraint.EType GetConstraintType() {
FbxConstraint.EType ret = (FbxConstraint.EType)NativeMethods.FbxConstraint_GetConstraintType(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual FbxObject GetConstrainedObject() {
global::System.IntPtr cPtr = NativeMethods.FbxConstraint_GetConstrainedObject(swigCPtr);
FbxObject ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxObject(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual int GetConstraintSourceCount() {
int ret = NativeMethods.FbxConstraint_GetConstraintSourceCount(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual FbxObject GetConstraintSource(int arg0) {
global::System.IntPtr cPtr = NativeMethods.FbxConstraint_GetConstraintSource(swigCPtr, arg0);
FbxObject ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxObject(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public double GetSourceWeight(FbxObject pObject) {
double ret = NativeMethods.FbxConstraint_GetSourceWeight(swigCPtr, FbxObject.getCPtr(pObject));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxConstraint other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxConstraint;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxConstraint).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxConstraint a, FbxConstraint b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxConstraint a, FbxConstraint b) {
return !(a == b);
}
public enum EType {
eUnknown,
ePosition,
eRotation,
eScale,
eParent,
eSingleChainIK,
eAim,
eCharacter,
eCustom
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 5019e4ab265d04db5baa2569789c738c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,171 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxConstraintAim : FbxConstraint {
internal FbxConstraintAim(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public new static FbxConstraintAim Create(FbxManager pManager, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxConstraintAim_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
FbxConstraintAim ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxConstraintAim(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public new static FbxConstraintAim Create(FbxObject pContainer, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxConstraintAim_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
FbxConstraintAim ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxConstraintAim(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxPropertyDouble3 RotationOffset {
get {
FbxPropertyDouble3 ret = new FbxPropertyDouble3(NativeMethods.FbxConstraintAim_RotationOffset_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyInt WorldUpType {
get {
FbxPropertyInt ret = new FbxPropertyInt(NativeMethods.FbxConstraintAim_WorldUpType_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyDouble3 WorldUpVector {
get {
FbxPropertyDouble3 ret = new FbxPropertyDouble3(NativeMethods.FbxConstraintAim_WorldUpVector_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyDouble3 UpVector {
get {
FbxPropertyDouble3 ret = new FbxPropertyDouble3(NativeMethods.FbxConstraintAim_UpVector_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyDouble3 AimVector {
get {
FbxPropertyDouble3 ret = new FbxPropertyDouble3(NativeMethods.FbxConstraintAim_AimVector_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool AffectX {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintAim_AffectX_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool AffectY {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintAim_AffectY_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool AffectZ {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintAim_AffectZ_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public void AddConstraintSource(FbxObject pObject, double pWeight) {
NativeMethods.FbxConstraintAim_AddConstraintSource__SWIG_0(swigCPtr, FbxObject.getCPtr(pObject), pWeight);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void AddConstraintSource(FbxObject pObject) {
NativeMethods.FbxConstraintAim_AddConstraintSource__SWIG_1(swigCPtr, FbxObject.getCPtr(pObject));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void SetConstrainedObject(FbxObject pObject) {
NativeMethods.FbxConstraintAim_SetConstrainedObject(swigCPtr, FbxObject.getCPtr(pObject));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void SetWorldUpObject(FbxObject pObject) {
NativeMethods.FbxConstraintAim_SetWorldUpObject(swigCPtr, FbxObject.getCPtr(pObject));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public FbxObject GetWorldUpObject() {
global::System.IntPtr cPtr = NativeMethods.FbxConstraintAim_GetWorldUpObject(swigCPtr);
FbxObject ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxObject(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxConstraintAim other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxConstraintAim;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxConstraintAim).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxConstraintAim a, FbxConstraintAim b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxConstraintAim a, FbxConstraintAim b) {
return !(a == b);
}
public enum EWorldUp {
eAimAtSceneUp,
eAimAtObjectUp,
eAimAtObjectRotationUp,
eAimAtVector,
eAimAtNone,
eAimAtCount
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e2307470d6de648769146a18bef26e60
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,192 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxConstraintParent : FbxConstraint {
internal FbxConstraintParent(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public new static FbxConstraintParent Create(FbxManager pManager, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxConstraintParent_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
FbxConstraintParent ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxConstraintParent(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public new static FbxConstraintParent Create(FbxObject pContainer, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxConstraintParent_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
FbxConstraintParent ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxConstraintParent(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxPropertyBool AffectTranslationX {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintParent_AffectTranslationX_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool AffectTranslationY {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintParent_AffectTranslationY_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool AffectTranslationZ {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintParent_AffectTranslationZ_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool AffectRotationX {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintParent_AffectRotationX_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool AffectRotationY {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintParent_AffectRotationY_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool AffectRotationZ {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintParent_AffectRotationZ_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool AffectScalingX {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintParent_AffectScalingX_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool AffectScalingY {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintParent_AffectScalingY_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool AffectScalingZ {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintParent_AffectScalingZ_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public void SetTranslationOffset(FbxObject pObject, FbxVector4 pTranslation) {
NativeMethods.FbxConstraintParent_SetTranslationOffset(swigCPtr, FbxObject.getCPtr(pObject), pTranslation);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public FbxVector4 GetTranslationOffset(FbxObject pObject) {
var ret = NativeMethods.FbxConstraintParent_GetTranslationOffset(swigCPtr, FbxObject.getCPtr(pObject));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxProperty GetTranslationOffsetProperty(FbxObject pObject) {
FbxProperty ret = new FbxProperty(NativeMethods.FbxConstraintParent_GetTranslationOffsetProperty(swigCPtr, FbxObject.getCPtr(pObject)), true);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual void SetRotationOffset(FbxObject pObject, FbxVector4 pRotation) {
NativeMethods.FbxConstraintParent_SetRotationOffset(swigCPtr, FbxObject.getCPtr(pObject), pRotation);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public FbxVector4 GetRotationOffset(FbxObject pObject) {
var ret = NativeMethods.FbxConstraintParent_GetRotationOffset(swigCPtr, FbxObject.getCPtr(pObject));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxProperty GetRotationOffsetProperty(FbxObject pObject) {
FbxProperty ret = new FbxProperty(NativeMethods.FbxConstraintParent_GetRotationOffsetProperty(swigCPtr, FbxObject.getCPtr(pObject)), true);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void AddConstraintSource(FbxObject pObject, double pWeight) {
NativeMethods.FbxConstraintParent_AddConstraintSource__SWIG_0(swigCPtr, FbxObject.getCPtr(pObject), pWeight);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void AddConstraintSource(FbxObject pObject) {
NativeMethods.FbxConstraintParent_AddConstraintSource__SWIG_1(swigCPtr, FbxObject.getCPtr(pObject));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void SetConstrainedObject(FbxObject pObject) {
NativeMethods.FbxConstraintParent_SetConstrainedObject(swigCPtr, FbxObject.getCPtr(pObject));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxConstraintParent other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxConstraintParent;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxConstraintParent).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxConstraintParent a, FbxConstraintParent b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxConstraintParent a, FbxConstraintParent b) {
return !(a == b);
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 026453738381a4314b369aac42b4a93e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,124 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxConstraintPosition : FbxConstraint {
internal FbxConstraintPosition(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public new static FbxConstraintPosition Create(FbxManager pManager, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxConstraintPosition_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
FbxConstraintPosition ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxConstraintPosition(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public new static FbxConstraintPosition Create(FbxObject pContainer, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxConstraintPosition_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
FbxConstraintPosition ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxConstraintPosition(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxPropertyBool AffectX {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintPosition_AffectX_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool AffectY {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintPosition_AffectY_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool AffectZ {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintPosition_AffectZ_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyDouble3 Translation {
get {
FbxPropertyDouble3 ret = new FbxPropertyDouble3(NativeMethods.FbxConstraintPosition_Translation_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public void AddConstraintSource(FbxObject pObject, double pWeight) {
NativeMethods.FbxConstraintPosition_AddConstraintSource__SWIG_0(swigCPtr, FbxObject.getCPtr(pObject), pWeight);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void AddConstraintSource(FbxObject pObject) {
NativeMethods.FbxConstraintPosition_AddConstraintSource__SWIG_1(swigCPtr, FbxObject.getCPtr(pObject));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public bool RemoveConstraintSource(FbxObject pObject) {
bool ret = NativeMethods.FbxConstraintPosition_RemoveConstraintSource(swigCPtr, FbxObject.getCPtr(pObject));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetConstrainedObject(FbxObject pObject) {
NativeMethods.FbxConstraintPosition_SetConstrainedObject(swigCPtr, FbxObject.getCPtr(pObject));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxConstraintPosition other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxConstraintPosition;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxConstraintPosition).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxConstraintPosition a, FbxConstraintPosition b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxConstraintPosition a, FbxConstraintPosition b) {
return !(a == b);
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ab6043e3582f344398a5ac7b2d4ccee2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,118 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxConstraintRotation : FbxConstraint {
internal FbxConstraintRotation(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public new static FbxConstraintRotation Create(FbxManager pManager, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxConstraintRotation_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
FbxConstraintRotation ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxConstraintRotation(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public new static FbxConstraintRotation Create(FbxObject pContainer, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxConstraintRotation_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
FbxConstraintRotation ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxConstraintRotation(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxPropertyBool AffectX {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintRotation_AffectX_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool AffectY {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintRotation_AffectY_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool AffectZ {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintRotation_AffectZ_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyDouble3 Rotation {
get {
FbxPropertyDouble3 ret = new FbxPropertyDouble3(NativeMethods.FbxConstraintRotation_Rotation_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public void AddConstraintSource(FbxObject pObject, double pWeight) {
NativeMethods.FbxConstraintRotation_AddConstraintSource__SWIG_0(swigCPtr, FbxObject.getCPtr(pObject), pWeight);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void AddConstraintSource(FbxObject pObject) {
NativeMethods.FbxConstraintRotation_AddConstraintSource__SWIG_1(swigCPtr, FbxObject.getCPtr(pObject));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void SetConstrainedObject(FbxObject pObject) {
NativeMethods.FbxConstraintRotation_SetConstrainedObject(swigCPtr, FbxObject.getCPtr(pObject));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxConstraintRotation other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxConstraintRotation;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxConstraintRotation).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxConstraintRotation a, FbxConstraintRotation b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxConstraintRotation a, FbxConstraintRotation b) {
return !(a == b);
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 6aff42940fda64911b4a26da411561c9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,118 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxConstraintScale : FbxConstraint {
internal FbxConstraintScale(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public new static FbxConstraintScale Create(FbxManager pManager, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxConstraintScale_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
FbxConstraintScale ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxConstraintScale(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public new static FbxConstraintScale Create(FbxObject pContainer, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxConstraintScale_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
FbxConstraintScale ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxConstraintScale(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxPropertyBool AffectX {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintScale_AffectX_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool AffectY {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintScale_AffectY_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyBool AffectZ {
get {
FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxConstraintScale_AffectZ_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyDouble3 Scaling {
get {
FbxPropertyDouble3 ret = new FbxPropertyDouble3(NativeMethods.FbxConstraintScale_Scaling_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public void AddConstraintSource(FbxObject pObject, double pWeight) {
NativeMethods.FbxConstraintScale_AddConstraintSource__SWIG_0(swigCPtr, FbxObject.getCPtr(pObject), pWeight);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void AddConstraintSource(FbxObject pObject) {
NativeMethods.FbxConstraintScale_AddConstraintSource__SWIG_1(swigCPtr, FbxObject.getCPtr(pObject));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public void SetConstrainedObject(FbxObject pObject) {
NativeMethods.FbxConstraintScale_SetConstrainedObject(swigCPtr, FbxObject.getCPtr(pObject));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxConstraintScale other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxConstraintScale;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxConstraintScale).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxConstraintScale a, FbxConstraintScale b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxConstraintScale a, FbxConstraintScale b) {
return !(a == b);
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c3da73df57c6743f38428a3641d1c396
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,136 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxDataType : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
internal FbxDataType(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FbxDataType obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
~FbxDataType() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
NativeMethods.delete_FbxDataType(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
}
}
public FbxDataType() : this(NativeMethods.new_FbxDataType__SWIG_0(), true) {
}
public FbxDataType(FbxDataType pDataType) : this(NativeMethods.new_FbxDataType__SWIG_1(FbxDataType.getCPtr(pDataType)), true) {
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
private bool _equals(FbxDataType pDataType) {
bool ret = NativeMethods.FbxDataType__equals(swigCPtr, FbxDataType.getCPtr(pDataType));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public bool Valid() {
bool ret = NativeMethods.FbxDataType_Valid(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public bool Is(FbxDataType pDataType) {
bool ret = NativeMethods.FbxDataType_Is(swigCPtr, FbxDataType.getCPtr(pDataType));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public EFbxType ToEnum() {
EFbxType ret = (EFbxType)NativeMethods.FbxDataType_ToEnum(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public string GetName() {
string ret = NativeMethods.FbxDataType_GetName(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxDataType(string pName, EFbxType pType) : this(NativeMethods.new_FbxDataType__SWIG_2(pName, (int)pType), true) {
}
public FbxDataType(string pName, FbxDataType pDataType) : this(NativeMethods.new_FbxDataType__SWIG_3(pName, FbxDataType.getCPtr(pDataType)), true) {
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public FbxDataType(EFbxType pType) : this(NativeMethods.new_FbxDataType__SWIG_4((int)pType), true) {
}
public bool Equals(FbxDataType other) {
if (object.ReferenceEquals(other, null)) { return false; }
return _equals(other);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxDataType;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxDataType).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxDataType a, FbxDataType b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxDataType a, FbxDataType b) {
return !(a == b);
}
public override int GetHashCode() { return GetName().GetHashCode(); }
public string GetNameForIO() {
string ret = NativeMethods.FbxDataType_GetNameForIO(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public override string ToString() {
return GetName();
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: caccccf6c4171441f804d367cc405f6f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,84 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxDeformer : FbxObject {
internal FbxDeformer(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public new static FbxDeformer Create(FbxManager pManager, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxDeformer_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
FbxDeformer ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxDeformer(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public new static FbxDeformer Create(FbxObject pContainer, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxDeformer_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
FbxDeformer ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxDeformer(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public virtual FbxDeformer.EDeformerType GetDeformerType() {
FbxDeformer.EDeformerType ret = (FbxDeformer.EDeformerType)NativeMethods.FbxDeformer_GetDeformerType(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxDeformer other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxDeformer;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxDeformer).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxDeformer a, FbxDeformer b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxDeformer a, FbxDeformer b) {
return !(a == b);
}
public enum EDeformerType {
eUnknown,
eSkin,
eBlendShape,
eVertexCache
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 3e002d2d5a5a94afbbb93e1bf6e77d3d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,83 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxDocument : FbxCollection {
internal FbxDocument(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public new static FbxDocument Create(FbxManager pManager, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxDocument_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
FbxDocument ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxDocument(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public new static FbxDocument Create(FbxObject pContainer, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxDocument_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
FbxDocument ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxDocument(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxDocumentInfo GetDocumentInfo() {
global::System.IntPtr cPtr = NativeMethods.FbxDocument_GetDocumentInfo(swigCPtr);
FbxDocumentInfo ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxDocumentInfo(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public void SetDocumentInfo(FbxDocumentInfo pSceneInfo) {
NativeMethods.FbxDocument_SetDocumentInfo(swigCPtr, FbxDocumentInfo.getCPtr(pSceneInfo));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxDocument other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxDocument;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxDocument).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxDocument a, FbxDocument b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxDocument a, FbxDocument b) {
return !(a == b);
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 8687e3b09af824095b9a7e71b87e9182
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,244 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxDocumentInfo : FbxObject {
internal FbxDocumentInfo(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
// override void Dispose() {base.Dispose();}
public new static FbxDocumentInfo Create(FbxManager pManager, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxDocumentInfo_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
FbxDocumentInfo ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxDocumentInfo(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public new static FbxDocumentInfo Create(FbxObject pContainer, string pName) {
global::System.IntPtr cPtr = NativeMethods.FbxDocumentInfo_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
FbxDocumentInfo ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxDocumentInfo(cPtr, false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxPropertyString LastSavedUrl {
get {
FbxPropertyString ret = new FbxPropertyString(NativeMethods.FbxDocumentInfo_LastSavedUrl_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyString Url {
get {
FbxPropertyString ret = new FbxPropertyString(NativeMethods.FbxDocumentInfo_Url_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxProperty Original {
get {
FbxProperty ret = new FbxProperty(NativeMethods.FbxDocumentInfo_Original_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyString Original_ApplicationVendor {
get {
FbxPropertyString ret = new FbxPropertyString(NativeMethods.FbxDocumentInfo_Original_ApplicationVendor_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyString Original_ApplicationName {
get {
FbxPropertyString ret = new FbxPropertyString(NativeMethods.FbxDocumentInfo_Original_ApplicationName_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyString Original_ApplicationVersion {
get {
FbxPropertyString ret = new FbxPropertyString(NativeMethods.FbxDocumentInfo_Original_ApplicationVersion_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyString Original_FileName {
get {
FbxPropertyString ret = new FbxPropertyString(NativeMethods.FbxDocumentInfo_Original_FileName_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxProperty LastSaved {
get {
FbxProperty ret = new FbxProperty(NativeMethods.FbxDocumentInfo_LastSaved_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyString LastSaved_ApplicationVendor {
get {
FbxPropertyString ret = new FbxPropertyString(NativeMethods.FbxDocumentInfo_LastSaved_ApplicationVendor_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyString LastSaved_ApplicationName {
get {
FbxPropertyString ret = new FbxPropertyString(NativeMethods.FbxDocumentInfo_LastSaved_ApplicationName_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyString LastSaved_ApplicationVersion {
get {
FbxPropertyString ret = new FbxPropertyString(NativeMethods.FbxDocumentInfo_LastSaved_ApplicationVersion_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public FbxPropertyString EmbeddedUrl {
get {
FbxPropertyString ret = new FbxPropertyString(NativeMethods.FbxDocumentInfo_EmbeddedUrl_get(swigCPtr), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public string mTitle {
set {
NativeMethods.FbxDocumentInfo_mTitle_set(swigCPtr, value);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
get {
string ret = NativeMethods.FbxDocumentInfo_mTitle_get(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public string mSubject {
set {
NativeMethods.FbxDocumentInfo_mSubject_set(swigCPtr, value);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
get {
string ret = NativeMethods.FbxDocumentInfo_mSubject_get(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public string mAuthor {
set {
NativeMethods.FbxDocumentInfo_mAuthor_set(swigCPtr, value);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
get {
string ret = NativeMethods.FbxDocumentInfo_mAuthor_get(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public string mKeywords {
set {
NativeMethods.FbxDocumentInfo_mKeywords_set(swigCPtr, value);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
get {
string ret = NativeMethods.FbxDocumentInfo_mKeywords_get(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public string mRevision {
set {
NativeMethods.FbxDocumentInfo_mRevision_set(swigCPtr, value);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
get {
string ret = NativeMethods.FbxDocumentInfo_mRevision_get(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public string mComment {
set {
NativeMethods.FbxDocumentInfo_mComment_set(swigCPtr, value);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
get {
string ret = NativeMethods.FbxDocumentInfo_mComment_get(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
}
public void Clear() {
NativeMethods.FbxDocumentInfo_Clear(swigCPtr);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public override int GetHashCode(){
return swigCPtr.Handle.GetHashCode();
}
public bool Equals(FbxDocumentInfo other) {
if (object.ReferenceEquals(other, null)) { return false; }
return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxDocumentInfo;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxDocumentInfo).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxDocumentInfo a, FbxDocumentInfo b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxDocumentInfo a, FbxDocumentInfo b) {
return !(a == b);
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 6698435f709c84af7b7f57b9c192502b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,164 @@
#if UNITY_EDITOR || FBXSDK_RUNTIME
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Autodesk.Fbx {
public class FbxDouble4x4 : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
internal FbxDouble4x4(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FbxDouble4x4 obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
~FbxDouble4x4() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
NativeMethods.delete_FbxDouble4x4(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
}
}
public FbxDouble4x4() : this(NativeMethods.new_FbxDouble4x4__SWIG_0(), true) {
}
public FbxDouble4x4(FbxDouble4 pValue) : this(NativeMethods.new_FbxDouble4x4__SWIG_1(pValue), true) {
}
public FbxDouble4x4(FbxDouble4 pData0, FbxDouble4 pData1, FbxDouble4 pData2, FbxDouble4 pData3) : this(NativeMethods.new_FbxDouble4x4__SWIG_2(pData0, pData1, pData2, pData3), true) {
}
private bool _equals(FbxDouble4x4 pVector) {
bool ret = NativeMethods.FbxDouble4x4__equals(swigCPtr, FbxDouble4x4.getCPtr(pVector));
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
public FbxDouble4x4(FbxDouble4x4 other) : this(NativeMethods.new_FbxDouble4x4__SWIG_3(FbxDouble4x4.getCPtr(other)), true) {
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public bool Equals(FbxDouble4x4 other) {
if (object.ReferenceEquals(other, null)) { return false; }
return _equals(other);
}
public override bool Equals(object obj){
if (object.ReferenceEquals(obj, null)) { return false; }
/* is obj a subclass of this type; if so use our Equals */
var typed = obj as FbxDouble4x4;
if (!object.ReferenceEquals(typed, null)) {
return this.Equals(typed);
}
/* are we a subclass of the other type; if so use their Equals */
if (typeof(FbxDouble4x4).IsSubclassOf(obj.GetType())) {
return obj.Equals(this);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxDouble4x4 a, FbxDouble4x4 b) {
if (object.ReferenceEquals(a, b)) { return true; }
if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
return a.Equals(b);
}
public static bool operator != (FbxDouble4x4 a, FbxDouble4x4 b) {
return !(a == b);
}
public override int GetHashCode() {
uint hash = 0;
for(int i = 0; i < 4; ++i) {
hash = (hash << (32 / 4)) | (hash >> (32 - (32 / 4)));
hash ^= (uint)this[i].GetHashCode();
}
return (int)hash;
}
public override string ToString() {
var builder = new System.Text.StringBuilder("FbxDouble4x4(");
for(int i = 0; i < 4; ++i) {
builder.Append(this[i].ToString());
builder.Append(',');
}
builder.Replace(',', ')', builder.Length - 1, 1);
return builder.ToString();
}
private FbxDouble4 _get(int i) {
var ret = NativeMethods.FbxDouble4x4__get(swigCPtr, i);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
private void _set(int i, FbxDouble4 v) {
NativeMethods.FbxDouble4x4__set(swigCPtr, i, v);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
}
public FbxDouble4 this[int index] {
get {
if (index < 0 || index >= 4) {
throw new System.ArgumentOutOfRangeException("index");
} else {
return this._get(index);
}
}
set {
if (index < 0 || index >= 4) {
throw new System.ArgumentOutOfRangeException("index");
} else {
this._set(index, value);
}
}
}
public FbxDouble4 X {
get { return this._get(0); }
set { this._set(0, value); }
}
public FbxDouble4 Y {
get { return this._get(1); }
set { this._set(1, value); }
}
public FbxDouble4 Z {
get { return this._get(2); }
set { this._set(2, value); }
}
public FbxDouble4 W {
get { return this._get(3); }
set { this._set(3, value); }
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 5d0ba208c10d943b082205e46e7e9168
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,527 @@
// ***********************************************************************
// Copyright (c) 2017 Unity Technologies. All rights reserved.
//
// Licensed under the ##LICENSENAME##.
// See LICENSE.md file in the project root for full license information.
// ***********************************************************************
#if UNITY_EDITOR || FBXSDK_RUNTIME
namespace Autodesk.Fbx
{
/**
* The structs in this file are for optimized transfer. Their layout must
* be binary-compatible with the structs in the accompanying .h file.
*
* That allows passing these structs on the stack between C# and C++, rather than
* heap-allocating a class on either side, which is about 100x slower.
*/
public struct FbxDouble2: System.IEquatable<FbxDouble2> {
public double X;
public double Y;
public FbxDouble2(double X) { this.X = this.Y = X; }
public FbxDouble2(double X, double Y) { this.X = X; this.Y = Y; }
public FbxDouble2(FbxDouble2 other) { this.X = other.X; this.Y = other.Y; }
public double this[int i] {
get {
switch(i) {
case 0: return X;
case 1: return Y;
default: throw new System.ArgumentOutOfRangeException("i");
}
}
set {
switch(i) {
case 0: X = value; break;
case 1: Y = value; break;
default: throw new System.ArgumentOutOfRangeException("i");
}
}
}
public bool Equals(FbxDouble2 other) {
return X == other.X && Y == other.Y;
}
public override bool Equals(object obj){
if (obj is FbxDouble2) {
return this.Equals((FbxDouble2)obj);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxDouble2 a, FbxDouble2 b) {
return a.Equals(b);
}
public static bool operator != (FbxDouble2 a, FbxDouble2 b) {
return !(a == b);
}
public override int GetHashCode() {
uint hash = (uint)X.GetHashCode();
hash = (hash << 16) | (hash >> 16);
hash ^= (uint)Y.GetHashCode();
return (int)hash;
}
public override string ToString() {
return string.Format("FbxDouble2({0},{1})", X, Y);
}
}
public struct FbxDouble3: System.IEquatable<FbxDouble3> {
public double X;
public double Y;
public double Z;
public FbxDouble3(double X) { this.X = this.Y = this.Z = X; }
public FbxDouble3(double X, double Y, double Z) { this.X = X; this.Y = Y; this.Z = Z; }
public FbxDouble3(FbxDouble3 other) { this.X = other.X; this.Y = other.Y; this.Z = other.Z; }
public double this[int i] {
get {
switch(i) {
case 0: return X;
case 1: return Y;
case 2: return Z;
default: throw new System.ArgumentOutOfRangeException("i");
}
}
set {
switch(i) {
case 0: X = value; break;
case 1: Y = value; break;
case 2: Z = value; break;
default: throw new System.ArgumentOutOfRangeException("i");
}
}
}
public bool Equals(FbxDouble3 other) {
return X == other.X && Y == other.Y && Z == other.Z;
}
public override bool Equals(object obj){
if (obj is FbxDouble3) {
return this.Equals((FbxDouble3)obj);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxDouble3 a, FbxDouble3 b) {
return a.Equals(b);
}
public static bool operator != (FbxDouble3 a, FbxDouble3 b) {
return !(a == b);
}
public override int GetHashCode() {
uint hash = (uint)X.GetHashCode();
hash = (hash << 11) | (hash >> 21);
hash ^= (uint)Y.GetHashCode();
hash = (hash << 11) | (hash >> 21);
hash ^= (uint)Z.GetHashCode();
return (int)hash;
}
public override string ToString() {
return string.Format("FbxDouble3({0},{1},{2})", X, Y, Z);
}
}
public struct FbxDouble4: System.IEquatable<FbxDouble4> {
public double X;
public double Y;
public double Z;
public double W;
public FbxDouble4(double X) { this.X = this.Y = this.Z = this.W = X; }
public FbxDouble4(double X, double Y, double Z, double W) { this.X = X; this.Y = Y; this.Z = Z; this.W = W; }
public FbxDouble4(FbxDouble4 other) { this.X = other.X; this.Y = other.Y; this.Z = other.Z; this.W = other.W; }
public double this[int i] {
get {
switch(i) {
case 0: return X;
case 1: return Y;
case 2: return Z;
case 3: return W;
default: throw new System.ArgumentOutOfRangeException("i");
}
}
set {
switch(i) {
case 0: X = value; break;
case 1: Y = value; break;
case 2: Z = value; break;
case 3: W = value; break;
default: throw new System.ArgumentOutOfRangeException("i");
}
}
}
public bool Equals(FbxDouble4 other) {
return X == other.X && Y == other.Y && Z == other.Z && W == other.W;
}
public override bool Equals(object obj){
if (obj is FbxDouble4) {
return this.Equals((FbxDouble4)obj);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxDouble4 a, FbxDouble4 b) {
return a.Equals(b);
}
public static bool operator != (FbxDouble4 a, FbxDouble4 b) {
return !(a == b);
}
public override int GetHashCode() {
uint hash = (uint)X.GetHashCode();
hash = (hash << 8) | (hash >> 24);
hash ^= (uint)Y.GetHashCode();
hash = (hash << 8) | (hash >> 24);
hash ^= (uint)Z.GetHashCode();
hash = (hash << 8) | (hash >> 24);
hash ^= (uint)W.GetHashCode();
return (int)hash;
}
public override string ToString() {
return string.Format("FbxDouble4({0},{1},{2},{3})", X, Y, Z, W);
}
}
public struct FbxColor: System.IEquatable<FbxColor> {
public double mRed;
public double mGreen;
public double mBlue;
public double mAlpha;
public FbxColor(double red, double green, double blue, double alpha = 1) { this.mRed = red; this.mGreen = green; this.mBlue = blue; this.mAlpha = alpha; }
public FbxColor(FbxDouble3 rgb, double alpha = 1) : this (rgb.X, rgb.Y, rgb.Z, alpha) { }
public FbxColor(FbxDouble4 rgba) : this (rgba.X, rgba.Y, rgba.Z, rgba.W) { }
public bool IsValid() {
return Globals.IsValidColor(this);
}
public void Set(double red, double green, double blue, double alpha = 1) {
this.mRed = red; this.mGreen = green; this.mBlue = blue; this.mAlpha = alpha;
}
public double this[int i] {
get {
switch(i) {
case 0: return mRed;
case 1: return mGreen;
case 2: return mBlue;
case 3: return mAlpha;
default: throw new System.ArgumentOutOfRangeException("i");
}
}
set {
switch(i) {
case 0: mRed = value; break;
case 1: mGreen = value; break;
case 2: mBlue = value; break;
case 3: mAlpha = value; break;
default: throw new System.ArgumentOutOfRangeException("i");
}
}
}
public bool Equals(FbxColor other) {
return mRed == other.mRed && mGreen == other.mGreen && mBlue == other.mBlue && mAlpha == other.mAlpha;
}
public override bool Equals(object obj){
if (obj is FbxColor) {
return this.Equals((FbxColor)obj);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxColor a, FbxColor b) {
return a.Equals(b);
}
public static bool operator != (FbxColor a, FbxColor b) {
return !(a == b);
}
public override int GetHashCode() {
uint hash = (uint)mRed.GetHashCode();
hash = (hash << 8) | (hash >> 24);
hash ^= (uint)mGreen.GetHashCode();
hash = (hash << 8) | (hash >> 24);
hash ^= (uint)mBlue.GetHashCode();
hash = (hash << 8) | (hash >> 24);
hash ^= (uint)mAlpha.GetHashCode();
return (int)hash;
}
public override string ToString() {
return string.Format("FbxColor({0},{1},{2},{3})", mRed, mGreen, mBlue, mAlpha);
}
}
public struct FbxVector2: System.IEquatable<FbxVector2> {
public double X;
public double Y;
public FbxVector2(double X) { this.X = this.Y = X; }
public FbxVector2(double X, double Y) { this.X = X; this.Y = Y; }
public FbxVector2(FbxDouble2 other) { this.X = other.X; this.Y = other.Y; }
public FbxVector2(FbxVector2 other) { this.X = other.X; this.Y = other.Y; }
public double this[int i] {
get {
switch(i) {
case 0: return X;
case 1: return Y;
default: throw new System.ArgumentOutOfRangeException("i");
}
}
set {
switch(i) {
case 0: X = value; break;
case 1: Y = value; break;
default: throw new System.ArgumentOutOfRangeException("i");
}
}
}
public bool Equals(FbxVector2 other) {
return X == other.X && Y == other.Y;
}
public override bool Equals(object obj){
if (obj is FbxVector2) {
return this.Equals((FbxVector2)obj);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxVector2 a, FbxVector2 b) {
return a.Equals(b);
}
public static bool operator != (FbxVector2 a, FbxVector2 b) {
return !(a == b);
}
public override int GetHashCode() {
uint hash = (uint)X.GetHashCode();
hash = (hash << 16) | (hash >> 16);
hash ^= (uint)Y.GetHashCode();
return (int)hash;
}
public override string ToString() {
return string.Format("FbxVector2({0},{1})", X, Y);
}
// Add/sub a scalar. We add/sub each coordinate.
public static FbxVector2 operator + (FbxVector2 a, double b) {
return new FbxVector2(a.X + b, a.Y + b);
}
public static FbxVector2 operator - (FbxVector2 a, double b) {
return new FbxVector2(a.X - b, a.Y - b);
}
// Scale.
public static FbxVector2 operator * (FbxVector2 a, double b) {
return new FbxVector2(a.X * b, a.Y * b);
}
public static FbxVector2 operator * (double a, FbxVector2 b) {
return new FbxVector2(a * b.X, a * b.Y);
}
public static FbxVector2 operator / (FbxVector2 a, double b) {
return new FbxVector2(a.X / b, a.Y / b);
}
// Negate.
public static FbxVector2 operator - (FbxVector2 a) {
return new FbxVector2(-a.X, -a.Y);
}
// Add/sub vector.
public static FbxVector2 operator + (FbxVector2 a, FbxVector2 b) {
return new FbxVector2(a.X + b.X, a.Y + b.Y);
}
public static FbxVector2 operator - (FbxVector2 a, FbxVector2 b) {
return new FbxVector2(a.X - b.X, a.Y - b.Y);
}
// Memberwise multiplication -- NOT dotproduct
public static FbxVector2 operator * (FbxVector2 a, FbxVector2 b) {
return new FbxVector2(a.X * b.X, a.Y * b.Y);
}
public static FbxVector2 operator / (FbxVector2 a, FbxVector2 b) {
return new FbxVector2(a.X / b.X, a.Y / b.Y);
}
public double DotProduct(FbxVector2 other) {
return this.X * other.X + this.Y * other.Y;
}
public double SquareLength() {
return X * X + Y * Y;
}
public double Length() {
return System.Math.Sqrt(SquareLength());
}
public double Distance(FbxVector2 other) {
return (this - other).Length();
}
}
public struct FbxVector4: System.IEquatable<FbxVector4> {
public double X;
public double Y;
public double Z;
public double W;
public FbxVector4(FbxVector4 other) { this.X = other.X; this.Y = other.Y; this.Z = other.Z; this.W = other.W; }
public FbxVector4(double X, double Y, double Z, double W = 1) { this.X = X; this.Y = Y; this.Z = Z; this.W = W; }
public FbxVector4(FbxDouble3 other) : this (other.X, other.Y, other.Z) { }
public double this[int i] {
get {
switch(i) {
case 0: return X;
case 1: return Y;
case 2: return Z;
case 3: return W;
default: throw new System.ArgumentOutOfRangeException("i");
}
}
set {
switch(i) {
case 0: X = value; break;
case 1: Y = value; break;
case 2: Z = value; break;
case 3: W = value; break;
default: throw new System.ArgumentOutOfRangeException("i");
}
}
}
public bool Equals(FbxVector4 other) {
return X == other.X && Y == other.Y && Z == other.Z && W == other.W;
}
public override bool Equals(object obj){
if (obj is FbxVector4) {
return this.Equals((FbxVector4)obj);
}
/* types are unrelated; can't be a match */
return false;
}
public static bool operator == (FbxVector4 a, FbxVector4 b) {
return a.Equals(b);
}
public static bool operator != (FbxVector4 a, FbxVector4 b) {
return !(a == b);
}
public override int GetHashCode() {
uint hash = (uint)X.GetHashCode();
hash = (hash << 8) | (hash >> 24);
hash ^= (uint)Y.GetHashCode();
hash = (hash << 8) | (hash >> 24);
hash ^= (uint)Z.GetHashCode();
hash = (hash << 8) | (hash >> 24);
hash ^= (uint)W.GetHashCode();
return (int)hash;
}
public override string ToString() {
return string.Format("FbxVector4({0},{1},{2},{3})", X, Y, Z, W);
}
// Add/sub a scalar. We add/sub each coordinate.
public static FbxVector4 operator + (FbxVector4 a, double b) {
return new FbxVector4(a.X + b, a.Y + b, a.Z + b, a.W + b);
}
public static FbxVector4 operator - (FbxVector4 a, double b) {
return new FbxVector4(a.X - b, a.Y - b, a.Z - b, a.W - b);
}
// Scale.
public static FbxVector4 operator * (FbxVector4 a, double b) {
return new FbxVector4(a.X * b, a.Y * b, a.Z * b, a.W * b);
}
public static FbxVector4 operator * (double a, FbxVector4 b) {
// Note: this operator is not provided in C++ FBX SDK.
// But it's how any mathematician would write it.
return new FbxVector4(a * b.X, a * b.Y, a * b.Z, a * b.W);
}
public static FbxVector4 operator / (FbxVector4 a, double b) {
return new FbxVector4(a.X / b, a.Y / b, a.Z / b, a.W / b);
}
// Negate.
public static FbxVector4 operator - (FbxVector4 a) {
return new FbxVector4(-a.X, -a.Y, -a.Z, -a.W);
}
// Add/sub vector.
public static FbxVector4 operator + (FbxVector4 a, FbxVector4 b) {
return new FbxVector4(a.X + b.X, a.Y + b.Y, a.Z + b.Z, a.W + b.W);
}
public static FbxVector4 operator - (FbxVector4 a, FbxVector4 b) {
return new FbxVector4(a.X - b.X, a.Y - b.Y, a.Z - b.Z, a.W - b.W);
}
// Memberwise multiplication -- NOT dotproduct
public static FbxVector4 operator * (FbxVector4 a, FbxVector4 b) {
return new FbxVector4(a.X * b.X, a.Y * b.Y, a.Z * b.Z, a.W * b.W);
}
public static FbxVector4 operator / (FbxVector4 a, FbxVector4 b) {
return new FbxVector4(a.X / b.X, a.Y / b.Y, a.Z / b.Z, a.W / b.W);
}
// Dot product of the 3d vector, ignoring W.
public double DotProduct(FbxVector4 other) {
return X * other.X + Y * other.Y + Z * other.Z;
}
// Cross product of the two 3d vectors, ignoring W.
public FbxVector4 CrossProduct(FbxVector4 other) {
return new FbxVector4(
Y * other.Z - Z * other.Y,
Z * other.X - X * other.Z,
X * other.Y - Y * other.X);
}
// Length of the 3d vector, ignoring W.
public double SquareLength() {
return X * X + Y * Y + Z * Z;
}
public double Length() {
return System.Math.Sqrt(SquareLength());
}
public double Distance(FbxVector4 other) {
return (this - other).Length();
}
}
}
#endif // UNITY_EDITOR || FBXSDK_RUNTIME

Some files were not shown because too many files have changed in this diff Show More