public ParticleAffectorPtr(ParticleAffectorPtr r) : this(OgrePINVOKE.new_ParticleAffectorPtr__SWIG_2(ParticleAffectorPtr.getCPtr(r)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ParticleAffectorPtr obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }