123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- namespace Autodesk.Fbx {
- public class FbxNull : FbxNodeAttribute {
- internal FbxNull(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
-
- public new static FbxNull Create(FbxManager pManager, string pName) {
- global::System.IntPtr cPtr = NativeMethods.FbxNull_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
- FbxNull ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxNull(cPtr, false);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public new static FbxNull Create(FbxObject pContainer, string pName) {
- global::System.IntPtr cPtr = NativeMethods.FbxNull_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
- FbxNull ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxNull(cPtr, false);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public void Reset() {
- NativeMethods.FbxNull_Reset(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- }
- public double GetSizeDefaultValue() {
- double ret = NativeMethods.FbxNull_GetSizeDefaultValue(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public static string sSize {
- get {
- string ret = NativeMethods.FbxNull_sSize_get();
- return ret;
- }
- }
- public static string sLook {
- get {
- string ret = NativeMethods.FbxNull_sLook_get();
- return ret;
- }
- }
- public static double sDefaultSize {
- get {
- double ret = NativeMethods.FbxNull_sDefaultSize_get();
- return ret;
- }
- }
- public static FbxNull.ELook sDefaultLook {
- get {
- FbxNull.ELook ret = (FbxNull.ELook)NativeMethods.FbxNull_sDefaultLook_get();
- return ret;
- }
- }
- public FbxPropertyDouble Size {
- get {
- FbxPropertyDouble ret = new FbxPropertyDouble(NativeMethods.FbxNull_Size_get(swigCPtr), false);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- }
- public FbxPropertyNullELook Look {
- get {
- FbxPropertyNullELook ret = new FbxPropertyNullELook(NativeMethods.FbxNull_Look_get(swigCPtr), false);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- }
- public override int GetHashCode(){
- return swigCPtr.Handle.GetHashCode();
- }
- public bool Equals(FbxNull 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 FbxNull;
- if (!object.ReferenceEquals(typed, null)) {
- return this.Equals(typed);
- }
-
- if (typeof(FbxNull).IsSubclassOf(obj.GetType())) {
- return obj.Equals(this);
- }
-
- return false;
- }
- public static bool operator == (FbxNull a, FbxNull 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 != (FbxNull a, FbxNull b) {
- return !(a == b);
- }
- public enum ELook {
- eNone,
- eCross
- }
- }
- }
|