public void addAffectorFactory(ParticleAffectorFactory factory)
 {
     OgrePINVOKE.ParticleSystemManager_addAffectorFactory(swigCPtr, ParticleAffectorFactory.getCPtr(factory));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
                public static ParticleAffectorFactory FromBaseObject(BaseObject baseObj)
                {
                    if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                    {
                        return(null);
                    }
                    ParticleAffectorFactory obj = baseObj as  ParticleAffectorFactory;

                    if (object.Equals(obj, null))
                    {
                        obj = new ParticleAffectorFactory(CreatedWhenConstruct.CWC_NotToCreate);
                        obj.BindNativeObject(baseObj.NativeObject, "CParticleAffectorFactory");
                        obj.IncreaseCast();
                    }

                    return(obj);
                }
예제 #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ParticleAffectorFactory obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
예제 #4
0
                public BaseObject Create()
                {
                    ParticleAffectorFactory emptyInstance = new ParticleAffectorFactory(CreatedWhenConstruct.CWC_NotToCreate);

                    return(emptyInstance);
                }