public override void Draw(EngineTime time, ref SharpDX.Matrix world, ref SharpDX.Matrix view, ref SharpDX.Matrix projection)
        {
            if (!IsLoaded)
            {
                return;
            }
            var transformedWorld = Transformation * world;

            _MeshContainer.Draw(time, ref transformedWorld, ref view, ref projection);
        }
Beispiel #2
0
        public override void Draw(EngineTime time, ref SharpDX.Matrix world, ref SharpDX.Matrix view, ref SharpDX.Matrix projection)
        {
            var adjustedWorld = Transformation * world;

            _Content.Draw(time, ref adjustedWorld, ref view, ref projection);
        }
 public override void Draw(EngineTime time, ref SharpDX.Matrix world, ref SharpDX.Matrix view, ref SharpDX.Matrix projection)
 {
     _TerrainContainer.Draw(time, ref world, ref view, ref projection);
     _LgbPartsContainer.Draw(time, ref world, ref view, ref projection);
 }
 public void Draw(EngineTime time, ref SharpDX.Matrix world, ref SharpDX.Matrix view, ref SharpDX.Matrix projection)
 {
     _InnerContainer.Draw(time, ref world, ref view, ref projection);
 }