NX Open C++ Reference Guide
|
Represents a NXOpen::Display::CgfxAttributeValueColor4Builder builder
This class is restricted to being called from a program running during an Interactive NX session.
More...
Public Member Functions | |
std::vector< double > | GetColor4Value () |
Gets the CgFX material attribute's array of 4 double values used to represent a color (RGBA) More... | |
void | SetColor4Value (const std::vector< double > &color4Value) |
Sets the CgFX material attribute's array of 4 double values used to represent a color (RGBA) 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::CgfxAttributeValueColor4Builder builder
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.
Created in NX5.0.0.
std::vector<double> NXOpen::Display::CgfxAttributeValueColor4Builder::GetColor4Value | ( | ) |
Gets the CgFX material attribute's array of 4 double values used to represent a color (RGBA)
Created in NX5.0.0.
License requirements : None
void NXOpen::Display::CgfxAttributeValueColor4Builder::SetColor4Value | ( | const std::vector< double > & | color4Value | ) |
Sets the CgFX material attribute's array of 4 double values used to represent a color (RGBA)
No alternative provided for this class.
Created in NX5.0.0.
License requirements : None
color4Value | Array of 4 RGB and alpha values, each between 0.0 and 1.0 |