Table of Contents

Class ItemPredictionDrawer<TPivot>

Namespace
Root
Assembly
SPZGameAssembly.dll
public abstract class ItemPredictionDrawer<TPivot> : IItemPredictionDrawer<TPivot> where TPivot : IPivot<TPivot>

Type Parameters

TPivot
Inheritance
object
ItemPredictionDrawer<TPivot>
Implements
Derived
Extension Methods

Constructors

ItemPredictionDrawer(IResearchShapeClassifier)

public ItemPredictionDrawer(IResearchShapeClassifier shapeClassifier)

Parameters

shapeClassifier IResearchShapeClassifier

Properties

IsIslandScale

protected abstract bool IsIslandScale { get; }

Property Value

bool

Methods

CalculateItemTransform(TPivot)

protected abstract Matrix4x4 CalculateItemTransform(TPivot key)

Parameters

key TPivot

Returns

Matrix4x4

CalculateNullPlaneTransform(TPivot)

protected abstract Matrix4x4 CalculateNullPlaneTransform(TPivot key)

Parameters

key TPivot

Returns

Matrix4x4

CalculateUnderlayTransform(TPivot, Viewport)

protected abstract Matrix4x4 CalculateUnderlayTransform(TPivot key, Viewport viewport)

Parameters

key TPivot
viewport Viewport

Returns

Matrix4x4

DrawLoadingOutput(FrameDrawOptions, TPivot)

public void DrawLoadingOutput(FrameDrawOptions draw, TPivot pivot)

Parameters

draw FrameDrawOptions
pivot TPivot

DrawPredictedItem(FrameDrawOptionsNoLOD, TPivot, in PredictedItem, bool)

public void DrawPredictedItem(FrameDrawOptionsNoLOD drawOptions, TPivot pivot, in PredictedItem prediction, bool drawPlateForEmpty = false)

Parameters

drawOptions FrameDrawOptionsNoLOD
pivot TPivot
prediction PredictedItem
drawPlateForEmpty bool

GetClassificationMaterialReference(VisualThemeBaseResources, ResearchShapeClassification, float)

protected MaterialReference GetClassificationMaterialReference(VisualThemeBaseResources baseResources, ResearchShapeClassification classification, float deliveryProgress)

Parameters

baseResources VisualThemeBaseResources
classification ResearchShapeClassification
deliveryProgress float

Returns

MaterialReference

GetItemPredictionVisualResources(VisualThemeBaseResources)

protected abstract ItemPredictionVisualResources GetItemPredictionVisualResources(VisualThemeBaseResources resources)

Parameters

resources VisualThemeBaseResources

Returns

ItemPredictionVisualResources

GetKeyMaterialReference(VisualThemeBaseResources, int, int)

protected MaterialReference GetKeyMaterialReference(VisualThemeBaseResources baseResources, int currentIndex, int activeIndex)

Parameters

baseResources VisualThemeBaseResources
currentIndex int
activeIndex int

Returns

MaterialReference

GetNullMaterialReference(VisualThemeBaseResources)

protected MaterialReference GetNullMaterialReference(VisualThemeBaseResources baseResources)

Parameters

baseResources VisualThemeBaseResources

Returns

MaterialReference