Class SpriteMeshControllerTest
Inheritance
System.Object
SpriteMeshControllerTest
Namespace: UnityEditor.Experimental.U2D.Animation.Test.SpriteMesh
Syntax
public class SpriteMeshControllerTest
Methods
AssertBoneWeightContainsChannels(BoneWeight, BoneWeight)
Declaration
protected void AssertBoneWeightContainsChannels(BoneWeight expected, BoneWeight actual)
Parameters
Type | Name | Description |
---|---|---|
BoneWeight | expected | |
BoneWeight | actual |
CreateEdge_WithSingleSelectedVertex_WithHoveredVertex_WithNoHoveredEdge_WithIntersectionCloseToSomeVertex_CreatesNewEdgeAtIntersectingVertex()
Declaration
public void CreateEdge_WithSingleSelectedVertex_WithHoveredVertex_WithNoHoveredEdge_WithIntersectionCloseToSomeVertex_CreatesNewEdgeAtIntersectingVertex()
CreateEdge_WithSingleSelectedVertex_WithHoveredVertex_WithNoHoveredEdge_WithNoIntersection_CreatesNewEdgeToHoveredVertex()
Declaration
public void CreateEdge_WithSingleSelectedVertex_WithHoveredVertex_WithNoHoveredEdge_WithNoIntersection_CreatesNewEdgeToHoveredVertex()
CreateEdge_WithSingleSelectedVertex_WithNoHoveredVertex_WithHoveredEdge_WithIntersection_CreatesNewVertex_CreatesNewEdge_SplitsHoveredEdge()
Declaration
public void CreateEdge_WithSingleSelectedVertex_WithNoHoveredVertex_WithHoveredEdge_WithIntersection_CreatesNewVertex_CreatesNewEdge_SplitsHoveredEdge()
CreateEdge_WithSingleSelectedVertex_WithNoHoveredVertex_WithHoveredEdge_WithNoIntersection_CreatesNewVertex_CreatesNewEdge_SplitsHoveredEdge()
Declaration
public void CreateEdge_WithSingleSelectedVertex_WithNoHoveredVertex_WithHoveredEdge_WithNoIntersection_CreatesNewVertex_CreatesNewEdge_SplitsHoveredEdge()
CreateEdge_WithSingleSelectedVertex_WithNoHoveredVertex_WithNoHoveredEdge_WithIntersection_CreatesNewVertexAtIntersection_CreatesNewEdgeAtIntersection_SplitsIntersectingEdge()
Declaration
public void CreateEdge_WithSingleSelectedVertex_WithNoHoveredVertex_WithNoHoveredEdge_WithIntersection_CreatesNewVertexAtIntersection_CreatesNewEdgeAtIntersection_SplitsIntersectingEdge()
CreateEdge_WithSingleSelectedVertex_WithNoHoveredVertex_WithNoHoveredEdge_WithIntersectionCloseToSomeVertex_CreatesNewEdgeAtIntersectingVertex()
Declaration
public void CreateEdge_WithSingleSelectedVertex_WithNoHoveredVertex_WithNoHoveredEdge_WithIntersectionCloseToSomeVertex_CreatesNewEdgeAtIntersectingVertex()
CreateEdge_WithSingleSelectedVertex_WithNoHoveredVertex_WithNoHoveredEdge_WithMultipleIntersections_CreatesNewVertexAtClosestIntersection_CreatesNewEdgeAtIntersection_SplitsIntersectingEdge()
Declaration
public void CreateEdge_WithSingleSelectedVertex_WithNoHoveredVertex_WithNoHoveredEdge_WithMultipleIntersections_CreatesNewVertexAtClosestIntersection_CreatesNewEdgeAtIntersection_SplitsIntersectingEdge()
CreateEdge_WithSingleSelectedVertex_WithNoHoveredVertexOrEdge_WithNoIntersection_CreatesNewVertexAndEdge()
Declaration
public void CreateEdge_WithSingleSelectedVertex_WithNoHoveredVertexOrEdge_WithNoIntersection_CreatesNewVertexAndEdge()
CreateVertex_SetsAverageWeightsFromNeighboursToNewVertex()
Declaration
public void CreateVertex_SetsAverageWeightsFromNeighboursToNewVertex()
CreateVertex_WithMousePositionInsideFrame_CreatesVertexFromMousePosition()
Declaration
public void CreateVertex_WithMousePositionInsideFrame_CreatesVertexFromMousePosition()
CreateVertex_WithMousePositionOutsideFrame_CreatesVertexFromMousePositionClampedToFrame()
Declaration
public void CreateVertex_WithMousePositionOutsideFrame_CreatesVertexFromMousePositionClampedToFrame()
MoveEdge_MovesSelectedVertices()
Declaration
public void MoveEdge_MovesSelectedVertices()
MoveVertex_WithMultipleVerticesSelected_MovesTheSelectedVertices()
Declaration
public void MoveVertex_WithMultipleVerticesSelected_MovesTheSelectedVertices()
MoveVertex_WithOneVertexSelected_MovesTheSelectedVertex()
Declaration
public void MoveVertex_WithOneVertexSelected_MovesTheSelectedVertex()
Remove_WithEdgeVerticesSelected_RemovesEdgeAndKeepsVertices()
Declaration
public void Remove_WithEdgeVerticesSelected_RemovesEdgeAndKeepsVertices()
Remove_WithVerticesSelected_RemovesSelectedVertices()
Declaration
public void Remove_WithVerticesSelected_RemovesSelectedVertices()
SelectEdge_WithAdditiveSelectionFalse_WithUnselectedHoveredEdge_ClearsSelection_SelectsHoveredEdge()
Declaration
public void SelectEdge_WithAdditiveSelectionFalse_WithUnselectedHoveredEdge_ClearsSelection_SelectsHoveredEdge()
SelectEdge_WithAdditiveSelectionTrue_WithSelectedHoveredEdge_DoesNotClearSelection_UnselectsHoveredEdge()
Declaration
public void SelectEdge_WithAdditiveSelectionTrue_WithSelectedHoveredEdge_DoesNotClearSelection_UnselectsHoveredEdge()
SelectVertex_WithAdditiveSelectionFalse_WithUnselectedHoveredVertex_ClearsSelection_SelectsHoveredVertex()
Declaration
public void SelectVertex_WithAdditiveSelectionFalse_WithUnselectedHoveredVertex_ClearsSelection_SelectsHoveredVertex()
SelectVertex_WithAdditiveSelectionTrue_WithSelectedHoveredVertex_DoesNotClearSelection_UnselectsHoveredVertex()
Declaration
public void SelectVertex_WithAdditiveSelectionTrue_WithSelectedHoveredVertex_DoesNotClearSelection_UnselectsHoveredVertex()
SelectVertex_WithInvalidIndex_ThrowsException()
Declaration
public void SelectVertex_WithInvalidIndex_ThrowsException()
Setup()
Declaration
public void Setup()
SplitEdge_CreatesVertexAtMousePosition_CreatesTwoEdges_InterpolatesWeights()
Declaration
public void SplitEdge_CreatesVertexAtMousePosition_CreatesTwoEdges_InterpolatesWeights()