Class SmoothingUtility
Inheritance
System.Object
SmoothingUtility
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEditor.Experimental.U2D.Animation
Syntax
public class SmoothingUtility
Methods
SmoothPerVertexData(IList<Int32>, Single[,], Single[,])
Declaration
public static void SmoothPerVertexData(IList<int> indices, float[, ] dataIn, float[, ] dataOut)
Parameters
Type | Name | Description |
---|---|---|
IList<System.Int32> | indices | |
System.Single[,] | dataIn | |
System.Single[,] | dataOut |
SmoothWeights(BoneWeight[], IList<Int32>, Int32, BoneWeight[])
Declaration
public static void SmoothWeights(BoneWeight[] boneWeightIn, IList<int> indices, int boneCount, BoneWeight[] boneWeightOut)
Parameters
Type | Name | Description |
---|---|---|
BoneWeight[] | boneWeightIn | |
IList<System.Int32> | indices | |
System.Int32 | boneCount | |
BoneWeight[] | boneWeightOut |