123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- //------------------------------------------------------------------------------
- // <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
- }
- }
- }
|