public RenderablePathPoint(RenderableConnectedPath path, Vector4 color, Vector3 pos,
                                   Vector3 rot, Vector3 sca) : base(pos, rot, sca)
        {
            Color      = color;
            ParentPath = path;

            Parents  = new List <RenderablePathPoint>();
            Children = new List <RenderablePathPoint>();
        }
        public RenderablePathPoint(RenderableConnectedPath path, Vector3 position)
            : base(position, Vector3.Zero, Vector3.One)
        {
            Translate  = position;
            ParentPath = path;

            Parents  = new List <RenderablePathPoint>();
            Children = new List <RenderablePathPoint>();
        }
Esempio n. 3
0
 public PointInfo(RenderablePathPoint point)
 {
     ParentPath = point.ParentPath;
     Point      = point;
     foreach (var child in point.Children)
     {
         Children.Add(child);
     }
     foreach (var parent in point.Parents)
     {
         Parents.Add(parent);
     }
 }
Esempio n. 4
0
 public BonePoint(RenderableConnectedPath path, Vector4 color,
                  Vector3 pos, Vector3 rot, Vector3 sca) : base(path, color, pos, rot, sca)
 {
 }