public VectorIParticleContactGenerator(VectorIParticleContactGenerator other) : this(PhysicsEngineForFunPINVOKE.new_VectorIParticleContactGenerator__SWIG_1(VectorIParticleContactGenerator.getCPtr(other)), true) { if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
public VectorIParticleContactGeneratorEnumerator(VectorIParticleContactGenerator collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, VectorIParticleContactGenerator values) { PhysicsEngineForFunPINVOKE.VectorIParticleContactGenerator_SetRange(swigCPtr, index, VectorIParticleContactGenerator.getCPtr(values)); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
public static VectorIParticleContactGenerator Repeat(IParticleContactGenerator value, int count) { global::System.IntPtr cPtr = PhysicsEngineForFunPINVOKE.VectorIParticleContactGenerator_Repeat(IParticleContactGenerator.getCPtr(value), count); VectorIParticleContactGenerator ret = (cPtr == global::System.IntPtr.Zero) ? null : new VectorIParticleContactGenerator(cPtr, true); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public VectorIParticleContactGenerator GetRange(int index, int count) { global::System.IntPtr cPtr = PhysicsEngineForFunPINVOKE.VectorIParticleContactGenerator_GetRange(swigCPtr, index, count); VectorIParticleContactGenerator ret = (cPtr == global::System.IntPtr.Zero) ? null : new VectorIParticleContactGenerator(cPtr, true); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VectorIParticleContactGenerator obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }