コード例 #1
0
 public VectorIParticleContactGenerator(VectorIParticleContactGenerator other) : this(PhysicsEngineForFunPINVOKE.new_VectorIParticleContactGenerator__SWIG_1(VectorIParticleContactGenerator.getCPtr(other)), true)
 {
     if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending)
     {
         throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public VectorIParticleContactGeneratorEnumerator(VectorIParticleContactGenerator collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
コード例 #3
0
 public void SetRange(int index, VectorIParticleContactGenerator values)
 {
     PhysicsEngineForFunPINVOKE.VectorIParticleContactGenerator_SetRange(swigCPtr, index, VectorIParticleContactGenerator.getCPtr(values));
     if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending)
     {
         throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
    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);
    }
コード例 #5
0
    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);
    }
コード例 #6
0
 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);
 }