ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/OniSplit/Totoro/BodyNode.cs
Revision: 1114
Committed: Wed Jan 22 14:08:57 2020 UTC (5 years, 8 months ago) by iritscen
File size: 990 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 System.Collections.Generic;
3 using Oni.Motoko;
4
5 namespace Oni.Totoro
6 {
7 internal class BodyNode
8 {
9 public static readonly string[] Names =
10 {
11 "pelvis",
12 "left_thigh",
13 "left_calf",
14 "left_foot",
15 "right_thigh",
16 "right_calf",
17 "right_foot",
18 "mid",
19 "chest",
20 "neck",
21 "head",
22 "left_shoulder",
23 "left_biceps",
24 "left_wrist",
25 "left_handfist",
26 "right_shoulder",
27 "right_biceps",
28 "right_wrist",
29 "right_handfist",
30 };
31
32 public string Name;
33 public int Index;
34
35 public BodyNode Parent;
36 public readonly List<BodyNode> Nodes = new List<BodyNode>();
37 public Vector3 Translation;
38 public Geometry Geometry;
39
40 public Dae.Node DaeNode;
41 }
42 }