Entity.GetDepth() Method Definition¶ Namespace: Brine2D.ECS Gets the depth of this entity in the hierarchy (0 = root). public int GetDepth(); Returns¶ System.Int32