Table of Contents

Class ShapeCargoContainerDrawer

Namespace
Game.Core.Rendering.Trains
Assembly
SPZGameAssembly.dll
public class ShapeCargoContainerDrawer : CargoContainerDrawer<ShapeId>, ICargoContainerDrawer<ShapeId>
Inheritance
object
ShapeCargoContainerDrawer
Implements
Inherited Members
Extension Methods

Constructors

ShapeCargoContainerDrawer(IShapeRegistry)

public ShapeCargoContainerDrawer(IShapeRegistry shapeRegistry)

Parameters

shapeRegistry IShapeRegistry

Methods

Draw(FrameDrawOptions, in CargoPackage<ShapeId>, Matrix4x4, bool)

public override void Draw(FrameDrawOptions draw, in CargoPackage<ShapeId> cargoPackage, Matrix4x4 trs, bool flipped)

Parameters

draw FrameDrawOptions
cargoPackage CargoPackage<ShapeId>
trs Matrix4x4
flipped bool

DrawItem(FrameDrawOptions, Matrix4x4, ShapeId)

protected override void DrawItem(FrameDrawOptions draw, Matrix4x4 trs, ShapeId shapeId)

Parameters

draw FrameDrawOptions
trs Matrix4x4
shapeId ShapeId