Class ItemPredictionDrawer<TPivot>
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public abstract class ItemPredictionDrawer<TPivot> : IItemPredictionDrawer<TPivot> where TPivot : IPivot<TPivot>
Type Parameters
TPivot
- Inheritance
-
objectItemPredictionDrawer<TPivot>
- Implements
-
IItemPredictionDrawer<TPivot>
- Derived
- Extension Methods
Constructors
ItemPredictionDrawer(IResearchShapeClassifier)
public ItemPredictionDrawer(IResearchShapeClassifier shapeClassifier)
Parameters
shapeClassifierIResearchShapeClassifier
Properties
IsIslandScale
protected abstract bool IsIslandScale { get; }
Property Value
- bool
Methods
CalculateItemTransform(TPivot)
protected abstract Matrix4x4 CalculateItemTransform(TPivot key)
Parameters
keyTPivot
Returns
- Matrix4x4
CalculateNullPlaneTransform(TPivot)
protected abstract Matrix4x4 CalculateNullPlaneTransform(TPivot key)
Parameters
keyTPivot
Returns
- Matrix4x4
CalculateUnderlayTransform(TPivot, Viewport)
protected abstract Matrix4x4 CalculateUnderlayTransform(TPivot key, Viewport viewport)
Parameters
keyTPivotviewportViewport
Returns
- Matrix4x4
DrawLoadingOutput(FrameDrawOptions, TPivot)
public void DrawLoadingOutput(FrameDrawOptions draw, TPivot pivot)
Parameters
drawFrameDrawOptionspivotTPivot
DrawPredictedItem(FrameDrawOptionsNoLOD, TPivot, in PredictedItem, bool)
public void DrawPredictedItem(FrameDrawOptionsNoLOD drawOptions, TPivot pivot, in PredictedItem prediction, bool drawPlateForEmpty = false)
Parameters
drawOptionsFrameDrawOptionsNoLODpivotTPivotpredictionPredictedItemdrawPlateForEmptybool
GetClassificationMaterialReference(VisualThemeBaseResources, ResearchShapeClassification, float)
protected MaterialReference GetClassificationMaterialReference(VisualThemeBaseResources baseResources, ResearchShapeClassification classification, float deliveryProgress)
Parameters
baseResourcesVisualThemeBaseResourcesclassificationResearchShapeClassificationdeliveryProgressfloat
Returns
GetItemPredictionVisualResources(VisualThemeBaseResources)
protected abstract ItemPredictionVisualResources GetItemPredictionVisualResources(VisualThemeBaseResources resources)
Parameters
resourcesVisualThemeBaseResources
Returns
GetKeyMaterialReference(VisualThemeBaseResources, int, int)
protected MaterialReference GetKeyMaterialReference(VisualThemeBaseResources baseResources, int currentIndex, int activeIndex)
Parameters
baseResourcesVisualThemeBaseResourcescurrentIndexintactiveIndexint
Returns
GetNullMaterialReference(VisualThemeBaseResources)
protected MaterialReference GetNullMaterialReference(VisualThemeBaseResources baseResources)
Parameters
baseResourcesVisualThemeBaseResources