Anima2D.SpriteMeshCache.ClearWeights C# (CSharp) Method

ClearWeights() public method

public ClearWeights ( ) : void
return void
		public void ClearWeights()
		{
			bindPoses.Clear();
			
			isDirty = true;
		}

Usage Example

 private void Unbind()
 {
     if (spriteMeshCache.isBound)
     {
         spriteMeshCache.RegisterUndo("Clear weights");
         spriteMeshCache.ClearWeights();
     }
 }
All Usage Examples Of Anima2D.SpriteMeshCache::ClearWeights