public new static FbxConstraintPosition Create(FbxObject pContainer, string pName) { global::System.IntPtr cPtr = FbxWrapperNativePINVOKE.FbxConstraintPosition_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName); FbxConstraintPosition ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxConstraintPosition(cPtr, false); return(ret); }
public new static FbxConstraintPosition Create(FbxManager pManager, string pName) { global::System.IntPtr cPtr = fbx_wrapperPINVOKE.FbxConstraintPosition_Create__SWIG_0(FbxManager.getCPtr(pManager), pName); FbxConstraintPosition ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxConstraintPosition(cPtr, false); return(ret); }
public bool Equals(FbxConstraintPosition other) { if (object.ReferenceEquals(other, null)) { return(false); } return(this.swigCPtr.Handle.Equals(other.swigCPtr.Handle)); }
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); }
protected FbxConstraint CreatePositionConstraint(FbxScene scene, FbxNode sourceNode, FbxNode constrainedNode) { FbxConstraintPosition constraint = FbxConstraintPosition.Create(scene, ConstraintName); constraint.SetConstrainedObject(constrainedNode); constraint.AddConstraintSource(sourceNode); constraint.AffectX.Set(true); constraint.AffectY.Set(true); constraint.AffectZ.Set(true); constraint.Translation.Set(new FbxDouble3(1, 2, 3)); return(constraint); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FbxConstraintPosition obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }