Exemple #1
0
        public PostEffect()
        {
            SwigObject = Engine.ObjectSystemFactory.CreatePostEffect();

            var p = SwigObject.GetPtr();
            if (GC.PostEffects.GetObject(p) != null)
            {
                Particular.Helper.ThrowException("");
            }
            GC.PostEffects.AddObject(p, this);
        }
Exemple #2
0
        public PostEffect()
        {
            SwigObject = Engine.ObjectSystemFactory.CreatePostEffect();

            var p = SwigObject.GetPtr();

            if (GC.PostEffects.GetObject(p) != null)
            {
                Particular.Helper.ThrowException("");
            }
            GC.PostEffects.AddObject(p, this);
        }
Exemple #3
0
        public PostEffect()
        {
            SwigObject = Engine.ObjectSystemFactory.CreatePostEffect();

            var p = SwigObject.GetPtr();

            if (GC.PostEffects.GetObject(p) != null)
            {
                throw new Exception();
            }
            GC.PostEffects.AddObject(p, this);
        }
Exemple #4
0
        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;
        }