Table of Contents

Class RailPlatformDrawer

Namespace
Root
Assembly
SPZGameAssembly.dll
[Obsolete("Replace this drawer with the more generic ModularIslandMeshDrawer")]
public class RailPlatformDrawer : IIslandPlatformDrawer
Inheritance
object
RailPlatformDrawer
Implements
Extension Methods

Constructors

RailPlatformDrawer(IIslandModelAccessor, IReadOnlyList<EntityIO<LocalChunkPivot, IRailIslandInputConnector>>, IReadOnlyList<EntityIO<LocalChunkPivot, IRailIslandOutputConnector>>, TrainsVisualResources, IReadOnlyRailColorRegistry)

public RailPlatformDrawer(IIslandModelAccessor map, IReadOnlyList<EntityIO<LocalChunkPivot, IRailIslandInputConnector>> inputs, IReadOnlyList<EntityIO<LocalChunkPivot, IRailIslandOutputConnector>> outputs, TrainsVisualResources resources, IReadOnlyRailColorRegistry railColorRegistry)

Parameters

map IIslandModelAccessor
inputs IReadOnlyList<EntityIO<LocalChunkPivot, IRailIslandInputConnector>>
outputs IReadOnlyList<EntityIO<LocalChunkPivot, IRailIslandOutputConnector>>
resources TrainsVisualResources
railColorRegistry IReadOnlyRailColorRegistry

Methods

Draw(FrameDrawOptions, in GlobalChunkTransform, IIslandConfiguration, LODMaterialAsset, float3)

public void Draw(FrameDrawOptions drawOptions, in GlobalChunkTransform transform, IIslandConfiguration islandConfiguration, LODMaterialAsset materialProvider, float3 scale)

Parameters

drawOptions FrameDrawOptions
transform GlobalChunkTransform
islandConfiguration IIslandConfiguration
materialProvider LODMaterialAsset
scale float3

DrawBlueprint(FrameDrawOptions, in GlobalChunkTransform, IIslandConfiguration, MaterialPropertyBlock, PropertyBlockHash, float3)

public void DrawBlueprint(FrameDrawOptions drawOptions, in GlobalChunkTransform transform, IIslandConfiguration islandConfiguration, MaterialPropertyBlock propertyBlock, PropertyBlockHash propertyBlockHash, float3 scale)

Parameters

drawOptions FrameDrawOptions
transform GlobalChunkTransform
islandConfiguration IIslandConfiguration
propertyBlock MaterialPropertyBlock
propertyBlockHash PropertyBlockHash
scale float3

DrawBlueprintNonInstanced(FrameDrawOptions, in GlobalChunkTransform, IIslandConfiguration, MaterialPropertyBlock, float3)

public void DrawBlueprintNonInstanced(FrameDrawOptions drawOptions, in GlobalChunkTransform transform, IIslandConfiguration islandConfiguration, MaterialPropertyBlock propertyBlock, float3 scale)

Parameters

drawOptions FrameDrawOptions
transform GlobalChunkTransform
islandConfiguration IIslandConfiguration
propertyBlock MaterialPropertyBlock
scale float3

DrawOverview(MeshBuilder, in GlobalChunkTransform)

public void DrawOverview(MeshBuilder builder, in GlobalChunkTransform transform)

Parameters

builder MeshBuilder
transform GlobalChunkTransform