Class BoneUtils
- Namespace
- Lime
- Assembly
- Lime.dll
public static class BoneUtils
- Inheritance
-
BoneUtils
- Inherited Members
Methods
CalcSkinningWeight(SkinningWeights, Vector2, List<Bone>)
public static SkinningWeights CalcSkinningWeight(SkinningWeights oldSkinningWeights, Vector2 position, List<Bone> bones)
Parameters
oldSkinningWeights
SkinningWeightsposition
Vector2bones
List<Bone>
Returns
CheckConsistency(IEnumerable<Bone>, params Widget[])
public static bool CheckConsistency(IEnumerable<Bone> bones, params Widget[] widgets)
Parameters
bones
IEnumerable<Bone>widgets
Widget[]
Returns
FindBoneRoot(Bone, IEnumerable<Node>)
public static Bone FindBoneRoot(Bone bone, IEnumerable<Node> nodes)
Parameters
bone
Bonenodes
IEnumerable<Node>
Returns
GenerateNewBoneIndex(Node)
public static int GenerateNewBoneIndex(Node hostNode)
Parameters
hostNode
Node
Returns
GetBone(IEnumerable<Node>, int)
public static Bone GetBone(this IEnumerable<Node> nodes, int index)
Parameters
nodes
IEnumerable<Node>index
int
Returns
SortBones(IList<Bone>)
Reorder bones with topological sort to maintain correct update order of transformations.
public static void SortBones(IList<Bone> bones)
Parameters
SortBones(IList<Node>)
Reorder bones within mixed list of nodes with topological sort to maintain correct update order of transformations.
public static void SortBones(IList<Node> nodes)