Exemplo n.º 1
0
        internal ModelMeshPart(
            ModelMesh modelMesh,
            DeviceBuffer texCoordVertexBuffer,
            uint startIndex,
            uint indexCount,
            bool blendEnabled,
            MaterialPass material,
            MaterialPass materialBlend)
        {
            ModelMesh = modelMesh;

            TexCoordVertexBuffer = texCoordVertexBuffer;

            StartIndex = startIndex;
            IndexCount = indexCount;

            BlendEnabled  = blendEnabled;
            Material      = material;
            MaterialBlend = materialBlend;
        }
Exemplo n.º 2
0
 internal ModelSubObject(string name, ModelBone bone, ModelMesh renderObject)
 {
     Name         = name;
     Bone         = bone;
     RenderObject = renderObject;
 }