コード例 #1
0
 public void SetupSubmeshes(aeObject abc, Mesh mesh)
 {
     for (int smi = 0; smi < mesh.subMeshCount; ++smi)
     {
         abc.AddFaceSet(string.Format("submesh[{0}]", smi));
     }
 }
コード例 #2
0
            public void WriteSample(aeObject abc)
            {
                var data = default(aePolyMeshData);

                data.visibility   = visibility;
                data.points       = points;
                data.pointCount   = points.Count;
                data.normals      = normals;
                data.uv0          = uv0;
                data.uv1          = uv1;
                data.colors       = colors;
                data.submeshes    = submeshData;
                data.submeshCount = submeshData.Count;
                abc.WriteSample(ref data);
            }
コード例 #3
0
 public RootCapturer(AlembicRecorder rec, aeObject abc)
 {
     recorder  = rec;
     abcObject = abc;
 }
コード例 #4
0
ファイル: AbcAPI.cs プロジェクト: ElonGame/AlembicImporter
 [DllImport("AlembicExporter")] public static extern aeProperty  aeNewProperty(aeObject parent, string name, aePropertyType type);
コード例 #5
0
ファイル: AbcAPI.cs プロジェクト: ElonGame/AlembicImporter
 [DllImport("AlembicExporter")] public static extern void        aePolyMeshWriteSample(aeObject obj, ref aePolyMeshData data);
コード例 #6
0
ファイル: AbcAPI.cs プロジェクト: ElonGame/AlembicImporter
 [DllImport("AlembicExporter")] public static extern void        aeCameraWriteSample(aeObject obj, ref aeCameraData data);
コード例 #7
0
ファイル: AbcAPI.cs プロジェクト: tlaedre/AlembicImporter
 [DllImport("AlembicExporter")] public static extern aeProperty  aeNewProperty(aeObject parent, string name, aePropertyType type);
コード例 #8
0
ファイル: AbcAPI.cs プロジェクト: ElonGame/AlembicImporter
 [DllImport("AlembicExporter")] public static extern aeObject    aeNewPolyMesh(aeObject parent, string name, int tsi = 1);
コード例 #9
0
ファイル: AbcAPI.cs プロジェクト: tlaedre/AlembicImporter
 [DllImport("AlembicExporter")] public static extern void        aePolyMeshWriteSample(aeObject obj, ref aePolyMeshData data);
コード例 #10
0
ファイル: AbcAPI.cs プロジェクト: tlaedre/AlembicImporter
 [DllImport("AlembicExporter")] public static extern void        aeCameraWriteSample(aeObject obj, ref aeCameraData data);
コード例 #11
0
ファイル: AbcAPI.cs プロジェクト: tlaedre/AlembicImporter
 [DllImport("AlembicExporter")] public static extern aeObject    aeNewPolyMesh(aeObject parent, string name, int tsi = 1);
コード例 #12
0
ファイル: aeAPI.cs プロジェクト: yasuda0404/MassParticle
 [DllImport("AlembicExporter")] public static extern void        aeXFormWriteSample(aeObject obj, ref aeXFormSampleData data);
コード例 #13
0
ファイル: aeAPI.cs プロジェクト: yasuda0404/MassParticle
 [DllImport("AlembicExporter")] public static extern aeObject    aeNewPoints(aeObject parent, string name);
コード例 #14
0
ファイル: aeAPI.cs プロジェクト: dgkae/AlembicImporter
 [DllImport("AlembicExporter")] public static extern void        aeXFormWriteSample(aeObject obj, ref aeXFormSampleData data);
コード例 #15
0
ファイル: aeAPI.cs プロジェクト: dgkae/AlembicImporter
 [DllImport("AlembicExporter")] public static extern aeObject    aeNewPoints(aeObject parent, string name);