Last change
on this file since 1131 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:
828 bytes
|
Rev | Line | |
---|
[1114] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 |
|
---|
| 4 | namespace Oni.Physics
|
---|
| 5 | {
|
---|
| 6 | internal class ObjectNode
|
---|
| 7 | {
|
---|
| 8 | public string Name;
|
---|
| 9 | public string FileName;
|
---|
| 10 | public ObjectSetupFlags Flags;
|
---|
| 11 | public int ScriptId;
|
---|
| 12 | public readonly ObjectGeometry[] Geometries;
|
---|
| 13 | public readonly ObjectParticle[] Particles;
|
---|
| 14 | public ObjectAnimation[] Animations = new ObjectAnimation[0];
|
---|
| 15 |
|
---|
| 16 | public ObjectNode(IEnumerable<ObjectGeometry> geometries)
|
---|
| 17 | {
|
---|
| 18 | this.Geometries = geometries.ToArray();
|
---|
| 19 | this.Particles = new ObjectParticle[0];
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | public ObjectNode(ObjectGeometry[] geometries, ObjectParticle[] particles)
|
---|
| 23 | {
|
---|
| 24 | this.Geometries = geometries;
|
---|
| 25 | this.Particles = particles;
|
---|
| 26 | }
|
---|
| 27 | }
|
---|
| 28 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.