public override void ConstructRenderable()
        {
            RenderModel Renderable = RenderableFactory.BuildRenderModelFromFrame(this);

            RenderAdapter = new Rendering.Core.RenderableAdapter();
            RenderAdapter.InitAdaptor(Renderable, this);
        }
Пример #2
0
        public override void ConstructRenderable()
        {
            RenderBoundingBox Renderable = RenderableFactory.BuildBoundingBox(Bounds, WorldTransform);

            RenderAdapter = new Rendering.Core.RenderableAdapter();
            RenderAdapter.InitAdaptor(Renderable, this);
        }
Пример #3
0
        public override void ConstructRenderable()
        {
            BoundingBox       TempBox    = new BoundingBox(new Vector3(0.5f), new Vector3(0.5f));
            RenderBoundingBox Renderable = RenderableFactory.BuildBoundingBox(TempBox, WorldTransform);

            RenderAdapter = new Rendering.Core.RenderableAdapter();
            RenderAdapter.InitAdaptor(Renderable, this);
        }
        public override void ConstructRenderable()
        {
            // We don't want to use this code yet, it's from old-old stuff which needs to be looked at.
            // TODO: Look at bringing this old feature back.
            return;

            RenderStaticCollision CollisionMesh = RenderableFactory.BuildRenderItemDesc(Hash);

            RenderAdapter = new Rendering.Core.RenderableAdapter();
            RenderAdapter.InitAdaptor(CollisionMesh, this);
        }