Exemple #1
0
        // TODO: Make OwnGraphics in the base class
        public RenderNavCell(GraphicsClass InGraphicsOwner)
        {
            OwnGraphics = InGraphicsOwner;
            Lines       = new List <RenderLine>();

            string LineBatchID = string.Format("NavCellLineBatch_{0}", RefManager.GetNewRefID());

            LineBatch = new PrimitiveBatch(PrimitiveType.Line, LineBatchID);
        }
Exemple #2
0
        public RenderNav(GraphicsClass InGraphicsClass)
        {
            OwnGraphics = InGraphicsClass;

            SelectedIndex = -1;
            BoundingBoxes = new List <RenderBoundingBox>();

            ConnectionsList = new List <RenderLine>();

            string ConnectionList = string.Format("NavConnectionList_{0}", RefManager.GetNewRefID());

            PointConnectionsBatch = new PrimitiveBatch(PrimitiveType.Line, ConnectionList);
        }
 public RenderAIWorld(GraphicsClass InOwnGraphics)
 {
     OwnGraphics = InOwnGraphics;
 }