NX Open C++ Reference Guide
|
Represents a NXOpen::Display::Lighting Lights are used to illuminate the scene in Shaded and Studio rendering styles, as well as in High Quality Images. More...
Public Member Functions | |
NXOpen::Display::LightBuilder * | GetLightBuilderFromList (int index) |
Returns a light builder, given by the index, in the array of lights assigned to the work view. More... | |
int | GetNumLightBuilders () |
Returns the total number of light builders in the given lighting list. More... | |
void | SetLightBuilderInList (int index, NXOpen::Display::LightBuilder *light) |
Sets a light builder in the array at the given index Created in NX5.0.0. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a NXOpen::Display::Lighting Lights are used to illuminate the scene in Shaded and Studio rendering styles, as well as in 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 NXOpen::ViewCollection::CreateLighting
Created in NX5.0.0.
NXOpen::Display::LightBuilder* NXOpen::Display::Lighting::GetLightBuilderFromList | ( | int | index | ) |
Returns a light builder, given by the index, in the array of lights assigned to the work view.
index | index to the array of light builders |
int NXOpen::Display::Lighting::GetNumLightBuilders | ( | ) |
Returns the total number of light builders in the given lighting list.
void NXOpen::Display::Lighting::SetLightBuilderInList | ( | int | index, |
NXOpen::Display::LightBuilder * | light | ||
) |
Sets a light builder in the array at the given index
Created in NX5.0.0.
License requirements : None
index | index to the array of light builders |
light | the light builder |