public void addAffectorFactory(ParticleAffectorFactory factory)
 {
     OgrePINVOKE.ParticleSystemManager_addAffectorFactory(swigCPtr, ParticleAffectorFactory.getCPtr(factory));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 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);
                }
Exemplo n.º 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);
 }
Exemplo n.º 4
0
                public BaseObject Create()
                {
                    ParticleAffectorFactory emptyInstance = new ParticleAffectorFactory(CreatedWhenConstruct.CWC_NotToCreate);

                    return(emptyInstance);
                }