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