public PostEffect() { SwigObject = Engine.ObjectSystemFactory.CreatePostEffect(); var p = SwigObject.GetPtr(); if (GC.PostEffects.GetObject(p) != null) { Particular.Helper.ThrowException(""); } GC.PostEffects.AddObject(p, this); }
public PostEffect() { SwigObject = Engine.ObjectSystemFactory.CreatePostEffect(); var p = SwigObject.GetPtr(); if (GC.PostEffects.GetObject(p) != null) { Particular.Helper.ThrowException(""); } GC.PostEffects.AddObject(p, this); }
public PostEffect() { SwigObject = Engine.ObjectSystemFactory.CreatePostEffect(); var p = SwigObject.GetPtr(); if (GC.PostEffects.GetObject(p) != null) { throw new Exception(); } GC.PostEffects.AddObject(p, this); }
public PostEffect() { coreInstance = Engine.ObjectSystemFactory.CreatePostEffect(); var p = coreInstance.GetPtr(); if (GC.PostEffects.Contains(p)) { Particular.Helper.ThrowException(""); } GC.PostEffects.AddObject(p, this); IsEnabled = true; }