123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- namespace Autodesk.Fbx {
- public class FbxBindingTableBase : FbxObject {
- internal FbxBindingTableBase(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
-
- 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; }
-
- var typed = obj as FbxBindingTableBase;
- if (!object.ReferenceEquals(typed, null)) {
- return this.Equals(typed);
- }
-
- if (typeof(FbxBindingTableBase).IsSubclassOf(obj.GetType())) {
- return obj.Equals(this);
- }
-
- 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);
- }
- }
- }
|