Class VisibilityManagerHelper
Helper methods for ICamIpcVisibilityManager
Inherited Members
Namespace: CAMIPC.DotnetHelper
Assembly: CAMIPC.DotnetHelper.dll
Syntax
public static class VisibilityManagerHelper
Methods
GetObjectVisibility(ComWrapper<ICamIpcVisibilityManager>, TMainWorkMode, TWorkObject)
Get visibility of a 3D scene object in the specified work mode
Declaration
public static bool GetObjectVisibility(this ComWrapper<ICamIpcVisibilityManager> managerCom, TMainWorkMode mode, TWorkObject objectType)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamIpcVisibilityManager> | managerCom | |
| TMainWorkMode | mode | |
| TWorkObject | objectType |
Returns
| Type | Description |
|---|---|
| bool |
SetObjectVisibility(ComWrapper<ICamIpcVisibilityManager>, TMainWorkMode, TWorkObject, bool)
Set visibility of a 3D scene object in the specified work mode.
When mode matches the currently active tab the scene
is repainted immediately; otherwise the change takes effect on the next
tab switch.
Declaration
public static void SetObjectVisibility(this ComWrapper<ICamIpcVisibilityManager> managerCom, TMainWorkMode mode, TWorkObject objectType, bool isVisible)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamIpcVisibilityManager> | managerCom | |
| TMainWorkMode | mode | |
| TWorkObject | objectType | |
| bool | isVisible |