Click or drag to resize

PartModelUpdateHighlighters Method (Part)

Refreshes the highlighters on the part.

Namespace:  KSPDev.PartUtils
Assembly:  KSPDev_Utils.1.1 (in KSPDev_Utils.1.1.dll) Version: 1.1 for KSP v1.6+
Syntax
C#
public static void UpdateHighlighters(
	Part part
)
Request Example View Source

Parameters

part
Type: (Default Namespace)Part
The part to refresh the highlighters for. It can be null.
Remarks
It goes thru the highlighters cache and drops all the renderers that are no more in the part's model hierarchy. Then, it gets all the renderers in the hierarchy and ensures all of them are in the cache. It's not a cheap operation performance wise.
See Also