ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/OniSplit/Akira/Material.cs
Revision: 1114
Committed: Wed Jan 22 14:08:57 2020 UTC (5 years, 8 months ago) by iritscen
File size: 1083 byte(s)
Log Message:
Adding OniSplit source code (v0.9.99.0). Many thanks to Neo for all his work over the years.

File Contents

# Content
1 using System;
2 using Oni.Imaging;
3
4 namespace Oni.Akira
5 {
6 internal class Material
7 {
8 private bool isMarker;
9 private string name;
10 private GunkFlags flags;
11 private string imageFilePath;
12 private Surface image;
13
14 public Material(string name)
15 {
16 this.name = name;
17 }
18
19 public Material(string name, bool isMarker)
20 {
21 this.name = name;
22 this.isMarker = isMarker;
23 }
24
25 public string Name
26 {
27 get { return name; }
28 set { name = value; }
29 }
30
31 public bool IsMarker => isMarker;
32
33 public GunkFlags Flags
34 {
35 get { return flags; }
36 set { flags = value; }
37 }
38
39 public string ImageFilePath
40 {
41 get { return imageFilePath; }
42 set { imageFilePath = value; }
43 }
44
45 public Surface Image
46 {
47 get { return image; }
48 set { image = value; }
49 }
50 }
51 }