Пример #1
0
 public RenderItem(Material material, RenderPrimitive renderPrimitive, Matrix xnaMatrix, ShapeFlags flags)
 {
     Material        = material;
     RenderPrimitive = renderPrimitive;
     XNAMatrix       = xnaMatrix;
     Flags           = flags;
 }
Пример #2
0
 public RenderItem(Material material, RenderPrimitive renderPrimitive, Matrix xnaMatrix, ShapeFlags flags, object itemData = null)
 {
     Material        = material;
     RenderPrimitive = renderPrimitive;
     XNAMatrix       = xnaMatrix;
     Flags           = flags;
     ItemData        = itemData;
 }