ViewVisualizationSpecialEffects Class¶
-
class
NXOpen.Preferences.ViewVisualizationSpecialEffects¶ Bases:
objectRepresents the set of visualization special effect preferences applicable to entire session.
Mainly sets fog preferences. Fog is the ability to display close objects in shades that are different than those of distant objects resulting in a display that shows which geometry is closest to the viewer and which is furthest.
To obtain an instance of this class, refer to
NXOpen.ViewNew in version NX3.0.0.
Properties¶
| Property | Description |
|---|---|
| FogBackValue | Returns or sets the fog back scale value. |
| FogBackgroundColor | Returns or sets the use background color flag. |
| FogColorHLSValue | Returns or sets the value of HLS color pattern |
| FogColorHSVValue | Returns or sets the value of HSV color pattern |
| FogColorRGBValue | Returns or sets the value of RGB color pattern |
| FogFrontValue | Returns or sets the fog front scale value. |
| FogRateValue | Returns or sets the fog rate value. |
| FogSetting | Returns or sets the fog setting type |
| FogSettingOption | Returns or sets the fog option. |
Methods¶
| Method | Description |
|---|---|
| UpdateFogDisplay | Applies current fog settings to display |
Enumerations¶
| ViewVisualizationSpecialEffectsFogType Enumeration | Describes whether the fog type is selected as linear or light or heavy. |
Structs¶
| ViewVisualizationSpecialEffectsColorHLS_Struct Struct | Represents three constituents of a HLS color pattern |
| ViewVisualizationSpecialEffectsColorHSV_Struct Struct | Represents three constituents of a HSV color pattern |
| ViewVisualizationSpecialEffectsColorRGB_Struct Struct | Represents three constituents of a RGB color pattern |
| ViewVisualizationSpecialEffectsFogData_Struct Struct | Represents the constituents of fog data |
Property Detail¶
FogBackValue¶
-
ViewVisualizationSpecialEffects.FogBackValue¶ Returns or sets the fog back scale value.
The Back scale defines the point at which fog reaches its maximum.
-------------------------------------Getter Method
Signature
FogBackValueReturns: Return type: int New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FogBackValueParameters: fogBackValue (int) – New in version NX3.0.0.
License requirements: None.
FogBackgroundColor¶
-
ViewVisualizationSpecialEffects.FogBackgroundColor¶ Returns or sets the use background color flag.
If true background color is used as fog color
-------------------------------------Getter Method
Signature
FogBackgroundColorReturns: Return type: bool New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FogBackgroundColorParameters: fogBackgroundColor (bool) – New in version NX3.0.0.
License requirements: None.
FogColorHLSValue¶
-
ViewVisualizationSpecialEffects.FogColorHLSValue¶ Returns or sets the value of HLS color pattern
-------------------------------------Getter Method
Signature
FogColorHLSValueReturns: Return type: NXOpen.Preferences.ViewVisualizationSpecialEffectsColorHLS_StructNew in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FogColorHLSValueParameters: fogColorHlsValue ( NXOpen.Preferences.ViewVisualizationSpecialEffectsColorHLS_Struct) –New in version NX3.0.0.
License requirements: None.
FogColorHSVValue¶
-
ViewVisualizationSpecialEffects.FogColorHSVValue¶ Returns or sets the value of HSV color pattern
-------------------------------------Getter Method
Signature
FogColorHSVValueReturns: Return type: NXOpen.Preferences.ViewVisualizationSpecialEffectsColorHSV_StructNew in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FogColorHSVValueParameters: fogColorHsvValue ( NXOpen.Preferences.ViewVisualizationSpecialEffectsColorHSV_Struct) –New in version NX3.0.0.
License requirements: None.
FogColorRGBValue¶
-
ViewVisualizationSpecialEffects.FogColorRGBValue¶ Returns or sets the value of RGB color pattern
-------------------------------------Getter Method
Signature
FogColorRGBValueReturns: Return type: NXOpen.Preferences.ViewVisualizationSpecialEffectsColorRGB_StructNew in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FogColorRGBValueParameters: fogColorRgbValue ( NXOpen.Preferences.ViewVisualizationSpecialEffectsColorRGB_Struct) –New in version NX3.0.0.
License requirements: None.
FogFrontValue¶
-
ViewVisualizationSpecialEffects.FogFrontValue¶ Returns or sets the fog front scale value.
The front scale defines the beginning of fog.
-------------------------------------Getter Method
Signature
FogFrontValueReturns: Return type: int New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FogFrontValueParameters: fogFrontValue (int) – New in version NX3.0.0.
License requirements: None.
FogRateValue¶
-
ViewVisualizationSpecialEffects.FogRateValue¶ Returns or sets the fog rate value.
Specifies the rate at which an object fades as the distance in the view increases.
-------------------------------------Getter Method
Signature
FogRateValueReturns: Return type: int New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FogRateValueParameters: fogRateValue (int) – New in version NX3.0.0.
License requirements: None.
FogSetting¶
-
ViewVisualizationSpecialEffects.FogSetting¶ Returns or sets the fog setting type
-------------------------------------Getter Method
Signature
FogSettingReturns: Return type: NXOpen.Preferences.ViewVisualizationSpecialEffectsFogTypeNew in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FogSettingParameters: fogSetting ( NXOpen.Preferences.ViewVisualizationSpecialEffectsFogType) –New in version NX3.0.0.
License requirements: None.
FogSettingOption¶
-
ViewVisualizationSpecialEffects.FogSettingOption¶ Returns or sets the fog option.
If true fog settings are available and applied to display
-------------------------------------Getter Method
Signature
FogSettingOptionReturns: Return type: bool New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FogSettingOptionParameters: fogSettingOption (bool) – New in version NX3.0.0.
License requirements: None.
Method Detail¶
UpdateFogDisplay¶
-
ViewVisualizationSpecialEffects.UpdateFogDisplay¶ Applies current fog settings to display
Signature
UpdateFogDisplay(fogData)Parameters: fogData ( NXOpen.Preferences.ViewVisualizationSpecialEffectsFogData_Struct) –New in version NX3.0.0.
License requirements: None.