SoLDMTileVisitorGetCullWeight Method |
Assigns a weight based on distance to the center of the screen.
Namespace: OIV.LDMAssembly: OIV.LDM (in OIV.LDM.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic virtual float GetCullWeight(
float distToScreen
)
Public Overridable Function GetCullWeight (
distToScreen As Single
) As Single
public:
virtual float GetCullWeight(
float distToScreen
)
abstract GetCullWeight :
distToScreen : float32 -> float32
override GetCullWeight :
distToScreen : float32 -> float32
Parameters
- distToScreen
- Type: SystemSingle
Return Value
Type:
Single
RemarksMay be overridden by the application. distToScreen is the signed distance from the tile considered to the center of the screen in normalized screen coordinate. This functions is called only if the tile is culled. The returned weight must be between 0 and 1. Default returns 0 always.
See Also