Click or drag to resize
SoLDMTileVisitorGetCullWeight Method

Assigns a weight based on distance to the center of the screen.

Namespace: OIV.LDM
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public virtual float GetCullWeight(
	float distToScreen
)

Parameters

distToScreen
Type: SystemSingle

Return Value

Type: Single
Remarks

May 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