Last change
on this file since 1148 was 1114, checked in by iritscen, 5 years ago |
Adding OniSplit source code (v0.9.99.0). Many thanks to Neo for all his work over the years.
|
File size:
1.1 KB
|
Line | |
---|
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 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.