示例#1
0
 public Skeleton(Minotaur.Graphics.Skeleton skeleton, Dictionary <string, Color4> boneHighlights, List <string> ignoreBones = null)
 {
     _skeleton       = skeleton;
     _boneHighlights = boneHighlights.ToDictionary(p => p.Key, k => new Vector4(k.Value.R, k.Value.G, k.Value.B, k.Value.A));
     _ignoreBones    = ignoreBones ?? new List <string>();
 }
示例#2
0
 public Skeleton(Minotaur.Graphics.Skeleton skeleton, Dictionary <string, Vector4> boneHighlights = null, List <string> ignoreBones = null)
 {
     _skeleton       = skeleton;
     _boneHighlights = boneHighlights ?? new Dictionary <string, Vector4>();
     _ignoreBones    = ignoreBones ?? new List <string>();
 }