NX Open C++ Reference Guide
|
Represents a Display::Scene A scene is comprised of background, stage, reflection, lights and image-based lighting subobjects. More...
Public Member Functions | |
NXOpen::Display::Background * | Background () |
Returns the background - use to define how background pixels are displayed Created in NX5.0.0. | |
NXOpen::Display::ImageBasedLighting * | ImageBasedLighting () |
Returns the image-based lighting - optionally use to by-pass lights with image-based lighting, where lighting effects are derived from a given image file Created in NX5.0.0. | |
NXOpen::Display::Lighting * | Lighting () |
Returns the lights - use to define light settings for the given lights Created in NX5.0.0. | |
NXOpen::Display::Reflection * | Reflection () |
Returns the reflection - use to define what will be reflected in shiny objects Created in NX5.0.0. | |
NXOpen::Display::Stage * | Stage () |
Returns the stage - use to optionally define a box that can have between one and six visible "walls" Created in NX5.0.0. | |
![]() | |
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::Scene A scene is comprised of background, stage, reflection, lights and image-based lighting subobjects.
You optionally specify a scene for display in Studio rendering style and High Quality Images.
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::CreateScene
Created in NX5.0.0.
NXOpen::Display::Background* NXOpen::Display::Scene::Background | ( | ) |
Returns the background - use to define how background pixels are displayed
Created in NX5.0.0.
License requirements : None
NXOpen::Display::ImageBasedLighting* NXOpen::Display::Scene::ImageBasedLighting | ( | ) |
Returns the image-based lighting - optionally use to by-pass lights with image-based lighting, where lighting effects are derived from a given image file
Created in NX5.0.0.
License requirements : None
NXOpen::Display::Lighting* NXOpen::Display::Scene::Lighting | ( | ) |
Returns the lights - use to define light settings for the given lights
Created in NX5.0.0.
License requirements : None
NXOpen::Display::Reflection* NXOpen::Display::Scene::Reflection | ( | ) |
Returns the reflection - use to define what will be reflected in shiny objects
Created in NX5.0.0.
License requirements : None
NXOpen::Display::Stage* NXOpen::Display::Scene::Stage | ( | ) |
Returns the stage - use to optionally define a box that can have between one and six visible "walls"
Created in NX5.0.0.
License requirements : None