source: OniSplit/Objects/FurnitureClass.cs@ 1114

Last change on this file since 1114 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: 530 bytes
RevLine 
[1114]1using Oni.Physics;
2
3namespace Oni.Objects
4{
5 internal class FurnitureClass : GunkObjectClass
6 {
7 public ObjectNode Geometry;
8
9 public static FurnitureClass Read(InstanceDescriptor ofga)
10 {
11 if (ofga == null)
12 return null;
13
14 return new FurnitureClass
15 {
16 Geometry = ObjectDatReader.ReadObjectGeometry(ofga)
17 };
18 }
19
20 public override ObjectGeometry[] GunkNodes => Geometry.Geometries;
21 }
22}
Note: See TracBrowser for help on using the repository browser.