Click or drag to resize
SoLocateHighlightTurnOffCurrentHighlight Method

Note: This API is now obsolete.

This will de-highlight the currently highlighted node if any.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("Obsolete since Open Inventor 10.8.1.0. This method is useless because the current highlighting of the subgraph is automatically turned off when switching from picking to viewing mode in viewers such as examiner viewers. However if your are using a custom viewer, you must send an SoLocation2Event::EventSource::OTHER event when switching modes instead of calling turnOffCurrentHighlight.")]
public static void TurnOffCurrentHighlight(
	SoGLRenderAction action
)

Parameters

action
Type: OIV.Inventor.ActionsSoGLRenderAction
Remarks

this should be called when the cursor leaves a window or a mode changes happen which would prevent a highlighted node from receiving more mouse motion events. The GL render action used to render into that window needs to be passed to correctly un-highlight.

Caution note Caution

Obsolete since Open Inventor 10810. This method is useless because the current highlighting of the subgraph is automatically turned off when switching from picking to viewing mode in viewers such as examiner viewers. However if your are using a custom viewer, you must send an SoLocation2Event.EventSource.OTHER event when switching modes instead of calling turnOffCurrentHighlight.

See Also