NX Open C++ Reference Guide
|
Represents a Display::Shadows
This class is restricted to being called from a program running during an Interactive NX session.
More...
Public Types | |
enum | RealTimeState { RealTimeStateDisabled, RealTimeStateEnvironmentShadowCatcherOnly, RealTimeStateInterObject } |
Real time type settings - environment_shadow_catcher_only is enabled only in Basic Studio mode. More... | |
enum | SsaoContrastType { SsaoContrastTypeNone, SsaoContrastTypeLow, SsaoContrastTypeMedium, SsaoContrastTypeHigh, SsaoContrastTypeExtraHigh } |
Shadows SSAO contrast settings. More... | |
enum | SsaoQualityType { SsaoQualityTypeLow, SsaoQualityTypeMedium, SsaoQualityTypeHigh, SsaoQualityTypeVeryHigh } |
Shadows SSAO quality settings. More... | |
Public Member Functions | |
bool | AmbientOcclusion () |
Returns the shadows SSAO ambient occlusion Created in NX7.5.3. | |
bool | GenerateHqiShadows () |
Returns the High Quality Image settings Created in NX7.5.3. | |
NXOpen::Display::Shadows::RealTimeState | RealTimeType () |
Returns the Real Time Settings Created in NX7.5.3. | |
void | SetAmbientOcclusion (bool shadowsSSAODisplayEnabled) |
Sets the shadows SSAO ambient occlusion Created in NX7.5.3. | |
void | SetGenerateHqiShadows (bool generateHQIShadows) |
Sets the High Quality Image settings Created in NX7.5.3. | |
void | SetRealTimeType (NXOpen::Display::Shadows::RealTimeState realTimeType) |
Sets the Real Time Settings Created in NX7.5.3. | |
void | SetSoftShadowsBiasOffset (double softShadowsBiasOffset) |
Sets the Soft Shadows bias offset Created in NX7.5.3. | |
void | SetSoftShadowsEdges (int softShadowsEdges) |
Sets the Soft Shadows edges (softness) Created in NX7.5.3. | |
void | SetSoftShadowsEnabled (bool softShadowsEnabled) |
Sets the Soft Shadows Created in NX7.5.3. | |
void | SetSoftShadowsGradientClamp (double softShadowsGradientClamp) |
Sets the Soft Shadows gradient clamp Created in NX7.5.3. | |
void | SetSoftShadowsQuality (int softShadowsQuality) |
Sets the Soft Shadows quality Created in NX7.5.3. | |
void | SetSsaoBlurRadius (double blurRadius) |
Sets the shadows SSAO Blur Radius Created in NX7.5.3. | |
void | SetSsaoContrast (NXOpen::Display::Shadows::SsaoContrastType contrast) |
Sets the shadows SSAO contrast Created in NX7.5.3. | |
void | SetSsaoQuality (NXOpen::Display::Shadows::SsaoQualityType shadowsSSAOQuality) |
Sets the shadows SSAO quality Created in NX7.5.3. | |
void | SetSsaoRadius (double radius) |
Sets the shadows SSAO radius Created in NX7.5.3. | |
void | SetUseShadowCatcher (bool useShadowCatcher) |
Sets the Shadow Catcher Created in NX7.5.3. | |
NXOpen::SelectNXObjectList * | ShadowCatcherSelection () |
Returns the Shadow Catcher Selection Created in NX7.5.3. | |
double | SoftShadowsBiasOffset () |
Returns the Soft Shadows bias offset Created in NX7.5.3. | |
int | SoftShadowsEdges () |
Returns the Soft Shadows edges (softness) Created in NX7.5.3. | |
bool | SoftShadowsEnabled () |
Returns the Soft Shadows Created in NX7.5.3. | |
double | SoftShadowsGradientClamp () |
Returns the Soft Shadows gradient clamp Created in NX7.5.3. | |
int | SoftShadowsQuality () |
Returns the Soft Shadows quality Created in NX7.5.3. | |
double | SsaoBlurRadius () |
Returns the shadows SSAO Blur Radius Created in NX7.5.3. | |
NXOpen::Display::Shadows::SsaoContrastType | SsaoContrast () |
Returns the shadows SSAO contrast Created in NX7.5.3. | |
NXOpen::Display::Shadows::SsaoQualityType | SsaoQuality () |
Returns the shadows SSAO quality Created in NX7.5.3. | |
double | SsaoRadius () |
Returns the shadows SSAO radius Created in NX7.5.3. | |
bool | UseShadowCatcher () |
Returns the Shadow Catcher Created in NX7.5.3. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a Display::Shadows
This class is restricted to being called from a program running during an Interactive NX session.
If run from a non-interactive session it will return NULL.
To create a new instance of this class, use ViewCollection::CreateShadows
Created in NX7.5.3.
Shadows SSAO contrast settings.
Shadows SSAO quality settings.
bool NXOpen::Display::Shadows::AmbientOcclusion | ( | ) |
Returns the shadows SSAO ambient occlusion
Created in NX7.5.3.
License requirements : None
bool NXOpen::Display::Shadows::GenerateHqiShadows | ( | ) |
Returns the High Quality Image settings
Created in NX7.5.3.
License requirements : None
NXOpen::Display::Shadows::RealTimeState NXOpen::Display::Shadows::RealTimeType | ( | ) |
Returns the Real Time Settings
Created in NX7.5.3.
License requirements : None
void NXOpen::Display::Shadows::SetAmbientOcclusion | ( | bool | shadowsSSAODisplayEnabled | ) |
Sets the shadows SSAO ambient occlusion
Created in NX7.5.3.
License requirements : None
shadowsSSAODisplayEnabled | shadowsssaodisplayenabled |
void NXOpen::Display::Shadows::SetGenerateHqiShadows | ( | bool | generateHQIShadows | ) |
Sets the High Quality Image settings
Created in NX7.5.3.
License requirements : None
generateHQIShadows | generatehqishadows |
void NXOpen::Display::Shadows::SetRealTimeType | ( | NXOpen::Display::Shadows::RealTimeState | realTimeType | ) |
Sets the Real Time Settings
Created in NX7.5.3.
License requirements : None
realTimeType | realtimetype |
void NXOpen::Display::Shadows::SetSoftShadowsBiasOffset | ( | double | softShadowsBiasOffset | ) |
Sets the Soft Shadows bias offset
Created in NX7.5.3.
License requirements : None
softShadowsBiasOffset | softshadowsbiasoffset |
void NXOpen::Display::Shadows::SetSoftShadowsEdges | ( | int | softShadowsEdges | ) |
Sets the Soft Shadows edges (softness)
Created in NX7.5.3.
License requirements : None
softShadowsEdges | softshadowsedges |
void NXOpen::Display::Shadows::SetSoftShadowsEnabled | ( | bool | softShadowsEnabled | ) |
Sets the Soft Shadows
Created in NX7.5.3.
License requirements : None
softShadowsEnabled | softshadowsenabled |
void NXOpen::Display::Shadows::SetSoftShadowsGradientClamp | ( | double | softShadowsGradientClamp | ) |
Sets the Soft Shadows gradient clamp
Created in NX7.5.3.
License requirements : None
softShadowsGradientClamp | softshadowsgradientclamp |
void NXOpen::Display::Shadows::SetSoftShadowsQuality | ( | int | softShadowsQuality | ) |
Sets the Soft Shadows quality
Created in NX7.5.3.
License requirements : None
softShadowsQuality | softshadowsquality |
void NXOpen::Display::Shadows::SetSsaoBlurRadius | ( | double | blurRadius | ) |
Sets the shadows SSAO Blur Radius
Created in NX7.5.3.
License requirements : None
blurRadius | blurradius |
void NXOpen::Display::Shadows::SetSsaoContrast | ( | NXOpen::Display::Shadows::SsaoContrastType | contrast | ) |
Sets the shadows SSAO contrast
Created in NX7.5.3.
License requirements : None
contrast | contrast |
void NXOpen::Display::Shadows::SetSsaoQuality | ( | NXOpen::Display::Shadows::SsaoQualityType | shadowsSSAOQuality | ) |
Sets the shadows SSAO quality
Created in NX7.5.3.
License requirements : None
shadowsSSAOQuality | shadowsssaoquality |
void NXOpen::Display::Shadows::SetSsaoRadius | ( | double | radius | ) |
Sets the shadows SSAO radius
Created in NX7.5.3.
License requirements : None
radius | radius |
void NXOpen::Display::Shadows::SetUseShadowCatcher | ( | bool | useShadowCatcher | ) |
Sets the Shadow Catcher
Created in NX7.5.3.
License requirements : None
useShadowCatcher | useshadowcatcher |
NXOpen::SelectNXObjectList* NXOpen::Display::Shadows::ShadowCatcherSelection | ( | ) |
Returns the Shadow Catcher Selection
Created in NX7.5.3.
License requirements : None
double NXOpen::Display::Shadows::SoftShadowsBiasOffset | ( | ) |
Returns the Soft Shadows bias offset
Created in NX7.5.3.
License requirements : None
int NXOpen::Display::Shadows::SoftShadowsEdges | ( | ) |
Returns the Soft Shadows edges (softness)
Created in NX7.5.3.
License requirements : None
bool NXOpen::Display::Shadows::SoftShadowsEnabled | ( | ) |
Returns the Soft Shadows
Created in NX7.5.3.
License requirements : None
double NXOpen::Display::Shadows::SoftShadowsGradientClamp | ( | ) |
Returns the Soft Shadows gradient clamp
Created in NX7.5.3.
License requirements : None
int NXOpen::Display::Shadows::SoftShadowsQuality | ( | ) |
Returns the Soft Shadows quality
Created in NX7.5.3.
License requirements : None
double NXOpen::Display::Shadows::SsaoBlurRadius | ( | ) |
Returns the shadows SSAO Blur Radius
Created in NX7.5.3.
License requirements : None
NXOpen::Display::Shadows::SsaoContrastType NXOpen::Display::Shadows::SsaoContrast | ( | ) |
Returns the shadows SSAO contrast
Created in NX7.5.3.
License requirements : None
NXOpen::Display::Shadows::SsaoQualityType NXOpen::Display::Shadows::SsaoQuality | ( | ) |
Returns the shadows SSAO quality
Created in NX7.5.3.
License requirements : None
double NXOpen::Display::Shadows::SsaoRadius | ( | ) |
Returns the shadows SSAO radius
Created in NX7.5.3.
License requirements : None
bool NXOpen::Display::Shadows::UseShadowCatcher | ( | ) |
Returns the Shadow Catcher
Created in NX7.5.3.
License requirements : None