Ejemplo n.º 1
0
        internal StaticFile(swig.StaticFile swig)
        {
            #if DEBUG
            if (GC.StaticFiles.GetObject(swig.GetPtr()) != null) Particular.Helper.ThrowException("");
            #endif

            CoreInstance = swig;
        }
Ejemplo n.º 2
0
 internal KeyframeAnimation(swig.KeyframeAnimation swig)
 {
     #if DEBUG
     // 唯一の対応するクラスであることを保証
     if (GC.KeyframeAnimations.GetObject(swig.GetPtr()) != null) Particular.Helper.ThrowException("");
     #endif
     SwigObject = swig;
 }
Ejemplo n.º 3
0
 internal Effect(swig.Effect swig)
 {
     #if DEBUG
     // 唯一の対応するクラスであることを保証
     if (GC.Effects.GetObject(swig.GetPtr()) != null) Particular.Helper.ThrowException("");
     #endif
     CoreInstance = swig;
 }
Ejemplo n.º 4
0
 internal MaterialPropertyBlock(swig.MaterialPropertyBlock swig)
 {
     #if DEBUG
     // 唯一の対応するクラスであることを保証
     if (GC.MaterialPropertyBlocks.GetObject(swig.GetPtr()) != null) Particular.Helper.ThrowException("");
     #endif
     SwigObject = swig;
 }
Ejemplo n.º 5
0
 internal CubemapTexture(swig.CubemapTexture swig)
 {
     #if DEBUG
     // 唯一の対応するクラスであることを保証
     if (GC.CubemapTextures.GetObject(swig.GetPtr()) != null) Particular.Helper.ThrowException("");
     #endif
     SwigObject = swig;
 }
Ejemplo n.º 6
0
 internal Deformer(swig.Deformer swig)
 {
     #if DEBUG
     // 唯一の対応するクラスであることを保証
     if (GC.Deformers.GetObject(swig.GetPtr()) != null) Particular.Helper.ThrowException("");
     #endif
     SwigObject = swig;
 }
Ejemplo n.º 7
0
 internal AnimationSource(swig.AnimationSource swig)
 {
     #if DEBUG
     // 唯一の対応するクラスであることを保証
     if (GC.AnimationSources.GetObject(swig.GetPtr()) != null) Particular.Helper.ThrowException("");
     #endif
     SwigObject = swig;
 }