NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::Display::CgfxAttributeValueColor3Builder Class Reference

Represents a NXOpen::Display::CgfxAttributeValueColor3Builder builder
This class is restricted to being called from a program running during an Interactive NX session. More...

Inheritance diagram for NXOpen::Display::CgfxAttributeValueColor3Builder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Member Functions

std::vector< double > GetColor3Value ()
 Gets the CgFX material attribute's array of 3 double values used to represent a color (RGB) More...
 
void SetColor3Value (const std::vector< double > &color3Value)
 Sets the CgFX material attribute's array of 3 double values used to represent a color (RGB)
More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 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::NXObjectGetObject ()
 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...
 

Detailed Description

Represents a NXOpen::Display::CgfxAttributeValueColor3Builder 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.



Deprecated:
Deprecated in NX10.0.0. No alternative provided for this class.


Created in NX5.0.0.

Member Function Documentation

std::vector<double> NXOpen::Display::CgfxAttributeValueColor3Builder::GetColor3Value ( )

Gets the CgFX material attribute's array of 3 double values used to represent a color (RGB)

Returns
Array of 3 RGB values, each between 0.0 and 1.0
Deprecated:
Deprecated in NX10.0.0. No alternative provided for this class.


Created in NX5.0.0.

License requirements : None

void NXOpen::Display::CgfxAttributeValueColor3Builder::SetColor3Value ( const std::vector< double > &  color3Value)

Sets the CgFX material attribute's array of 3 double values used to represent a color (RGB)

Deprecated:
Deprecated in NX10.0.0.

No alternative provided for this class.


Created in NX5.0.0.

License requirements : None

Parameters
color3ValueArray of 3 RGB values, each between 0.0 and 1.0

The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.