Class EditableBoneWeightUtilityTest
Inheritance
System.Object
EditableBoneWeightUtilityTest
Namespace: UnityEditor.Experimental.U2D.Animation.Test.Weights
Syntax
public class EditableBoneWeightUtilityTest
Methods
AssertBoneWeightContainsChannels(BoneWeight, BoneWeight)
Declaration
protected void AssertBoneWeightContainsChannels(BoneWeight expected, BoneWeight actual)
Parameters
Type | Name | Description |
---|---|---|
BoneWeight | expected | |
BoneWeight | actual |
ClampChannels_ReducesChannelCount()
Declaration
public void ClampChannels_ReducesChannelCount()
ClampChannels_WithSortWeights_ReducesChannelCount_GraterWeightsFirst()
Declaration
public void ClampChannels_WithSortWeights_ReducesChannelCount_GraterWeightsFirst()
CompensateOtherChannels_KeepsMasterChannelWeight_NormalizeUsingOthers()
Declaration
public void CompensateOtherChannels_KeepsMasterChannelWeight_NormalizeUsingOthers()
CreateFromBoneWeight_WithBoneIndicesDistinct_CreatesFourEnabledChannels()
Declaration
public void CreateFromBoneWeight_WithBoneIndicesDistinct_CreatesFourEnabledChannels()
CreateFromBoneWeight_WithRepetedBoneIndices_CreatesFourChannels_UnifyingTheRepeatedIndices()
Declaration
public void CreateFromBoneWeight_WithRepetedBoneIndices_CreatesFourChannels_UnifyingTheRepeatedIndices()
FilterChannels_DisablesChannelsWithWeightBelowTolerance()
Declaration
public void FilterChannels_DisablesChannelsWithWeightBelowTolerance()
LerpBoneWeight_AllIndicesDifferent()
Declaration
public void LerpBoneWeight_AllIndicesDifferent()
LerpBoneWeight_AllIndicesInCommon()
Declaration
public void LerpBoneWeight_AllIndicesInCommon()
LerpBoneWeight_SomeIndicesInCommon()
Declaration
public void LerpBoneWeight_SomeIndicesInCommon()
NormalizeChannels_OutputsNormalizedWeights()
Declaration
public void NormalizeChannels_OutputsNormalizedWeights()
SetFromBoneWeight_CreatesFourChannelsInSameOrder()
Declaration
public void SetFromBoneWeight_CreatesFourChannelsInSameOrder()
SetFromBoneWeight_DisablesChannelsWithZeroWeight()
Declaration
public void SetFromBoneWeight_DisablesChannelsWithZeroWeight()
ToBoneWeight_WithNoChannels_CreatesDefaultBoneWeight()
Declaration
public void ToBoneWeight_WithNoChannels_CreatesDefaultBoneWeight()
ToBoneWeight_WithSortWeights_OutputsSortedBoneWeight()
Declaration
public void ToBoneWeight_WithSortWeights_OutputsSortedBoneWeight()
UnifyChannelsWithSameBoneIndex_AddsWeightsInSameChannel_DisablesRepeatedChannels()
Declaration
public void UnifyChannelsWithSameBoneIndex_AddsWeightsInSameChannel_DisablesRepeatedChannels()
ValidateChannels_ClampsWeight01_SetWeightToZeroIfDisabled()
Declaration
public void ValidateChannels_ClampsWeight01_SetWeightToZeroIfDisabled()