コード例 #1
0
ファイル: StaticFile.cs プロジェクト: Pctg-x8/Altseed
        internal StaticFile(swig.StaticFile swig)
        {
            #if DEBUG
            if (GC.StaticFiles.GetObject(swig.GetPtr()) != null) Particular.Helper.ThrowException("");
            #endif

            CoreInstance = swig;
        }
コード例 #2
0
ファイル: KeyframeAnimation.cs プロジェクト: Pctg-x8/Altseed
 internal KeyframeAnimation(swig.KeyframeAnimation swig)
 {
     #if DEBUG
     // 唯一の対応するクラスであることを保証
     if (GC.KeyframeAnimations.GetObject(swig.GetPtr()) != null) Particular.Helper.ThrowException("");
     #endif
     SwigObject = swig;
 }
コード例 #3
0
ファイル: Effect.cs プロジェクト: Pctg-x8/Altseed
 internal Effect(swig.Effect swig)
 {
     #if DEBUG
     // 唯一の対応するクラスであることを保証
     if (GC.Effects.GetObject(swig.GetPtr()) != null) Particular.Helper.ThrowException("");
     #endif
     CoreInstance = swig;
 }
コード例 #4
0
 internal MaterialPropertyBlock(swig.MaterialPropertyBlock swig)
 {
     #if DEBUG
     // 唯一の対応するクラスであることを保証
     if (GC.MaterialPropertyBlocks.GetObject(swig.GetPtr()) != null) Particular.Helper.ThrowException("");
     #endif
     SwigObject = swig;
 }
コード例 #5
0
ファイル: CubemapTexture.cs プロジェクト: Pctg-x8/Altseed
 internal CubemapTexture(swig.CubemapTexture swig)
 {
     #if DEBUG
     // 唯一の対応するクラスであることを保証
     if (GC.CubemapTextures.GetObject(swig.GetPtr()) != null) Particular.Helper.ThrowException("");
     #endif
     SwigObject = swig;
 }
コード例 #6
0
ファイル: Deformer.cs プロジェクト: Pctg-x8/Altseed
 internal Deformer(swig.Deformer swig)
 {
     #if DEBUG
     // 唯一の対応するクラスであることを保証
     if (GC.Deformers.GetObject(swig.GetPtr()) != null) Particular.Helper.ThrowException("");
     #endif
     SwigObject = swig;
 }
コード例 #7
0
ファイル: AnimationSource.cs プロジェクト: Pctg-x8/Altseed
 internal AnimationSource(swig.AnimationSource swig)
 {
     #if DEBUG
     // 唯一の対応するクラスであることを保証
     if (GC.AnimationSources.GetObject(swig.GetPtr()) != null) Particular.Helper.ThrowException("");
     #endif
     SwigObject = swig;
 }