Click or drag to resize
AB4D logo

TransparencySorterCalculateSortedValue Method

CalculateSortedValue returns the sorted value for transparentModel3D and sortingType that will be used to set the model's order. The method can be overridden to provide custom objects ordering.

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
protected virtual double CalculateSortedValue(
	BaseTransparentObject3D transparentModel3D,
	TransparencySorterSortingModeTypes sortingType
)

Parameters

transparentModel3D  BaseTransparentObject3D
TransparentModel3D
sortingType  TransparencySorterSortingModeTypes
TransparencySortingType

Return Value

Double
sorted value that will be used to set the model's order
See Also