private static GameObject CreateRenderable(Table table, IRenderable renderable)
        {
            var tb  = TableBehavior;
            var rog = renderable.GetRenderObjects(table, Origin.Original, false);

            return(VpxConverter.ConvertRenderObjects(renderable, rog, GetOrCreateParent(tb, rog), tb));
        }
示例#2
0
        private GameObject CreateRenderable(IRenderable renderable)
        {
            var rog = renderable.GetRenderObjects(_table.Table, Origin.Original, false);

            VpxConverter.ConvertRenderObjects(renderable, rog, GetOrCreateParent(_table, rog), _table, out var obj);
            return(obj);
        }
        private static GameObject CreateRenderable(Table table, IRenderable renderable)
        {
            var tb  = TableAuthoring;
            var rog = renderable.GetRenderObjects(table, Origin.Original, false);

            VpxConverter.ConvertRenderObjects(renderable, rog, GetOrCreateParent(tb, rog), tb, out var obj);
            return(obj);
        }