LayoutFarm.RenderBoxes.HitChain.GetHitInfo C# (CSharp) Method

GetHitInfo() public method

public GetHitInfo ( int index ) : HitInfo
index int
return HitInfo
        public HitInfo GetHitInfo(int index) { return hitList[index]; }
        public RenderElement TopMostElement

Usage Example

 static void SetEventOrigin(UIEventArgs e, HitChain hitChain)
 {
     int count = hitChain.Count;
     if (count > 0)
     {
         var hitInfo = hitChain.GetHitInfo(count - 1);
         e.ExactHitObject = hitInfo.hitElement;
     }
 }
All Usage Examples Of LayoutFarm.RenderBoxes.HitChain::GetHitInfo