|
NX Open C++ Reference Guide
|
Represents a Display::CgfxMattex builder
This class is restricted to being called from a program running during an Interactive NX session.
More...
Public Types | |
| enum | Technique { TechniqueBase } |
| The technique is an index to a technique name in a list found in the CgFX file. More... | |
| enum | TextureSpace { TextureSpaceDefaultUv, TextureSpaceEdited } |
| The texture space type indicates the texture space type to use for CgFX shader. More... | |
| enum | TextureSpaceShader { TextureSpaceShaderArbitraryPlane, TextureSpaceShaderCylindrical, TextureSpaceShaderSpherical, TextureSpaceShaderWcsAutoAxis, TextureSpaceShaderUv, TextureSpaceShaderCameraDirectionPlane } |
| The texture space shader type indicates the type of texture space shader to use for CgFX shader. More... | |
| enum | UseCameraDirectionPlane { UseCameraDirectionPlaneNormalVector, UseCameraDirectionPlaneNormalAndUpVector } |
| The option indicates which texture space vectors are updated upon Update Texture to Camera Direction action. More... | |
Public Member Functions | |
| std::vector< NXOpen::NXObject * > | GetAttributeValues () |
| Returns the attribute values. | |
| NXString | MaterialName () |
| Returns the material name Created in NX5.0.0. | |
| void | SetAttributeValues (const std::vector< NXOpen::NXObject * > &attributeValues) |
| Sets the attribute values Created in NX5.0.0. | |
| void | SetMaterialName (const NXString &materialName) |
| Sets the material name Created in NX5.0.0. | |
| void | SetMaterialName (const char *materialName) |
| Sets the material name Created in NX5.0.0. | |
| void | SetShadowCastingDisabled (bool disableShadowCasting) |
| Sets the flag indicating if shadow casting is disabled Created in NX6.0.5. | |
| void | SetTechniqueType (NXOpen::Display::CgfxMattexBuilder::Technique technique) |
| Sets the display techniques Created in NX5.0.0. | |
| void | SetTextureSpaceShaderType (NXOpen::Display::CgfxMattexBuilder::TextureSpaceShader textureSpaceShaderType) |
| Sets the texture space shader type Created in NX7.5.2. | |
| void | SetUseCameraDirectionPlaneOption (NXOpen::Display::CgfxMattexBuilder::UseCameraDirectionPlane useCameraDiretionPlaneOption) |
| Sets the use camera direction plane option Created in NX7.5.2. | |
| bool | ShadowCastingDisabled () |
| Returns the flag indicating if shadow casting is disabled Created in NX6.0.5. | |
| NXOpen::Display::CgfxMattexBuilder::Technique | TechniqueType () |
| Returns the display techniques Created in NX5.0.0. | |
| NXOpen::Display::CgfxMattexBuilder::TextureSpaceShader | TextureSpaceShaderType () |
| Returns the texture space shader type Created in NX7.5.2. | |
| void | UpdateMaterialsInPartPaletteEntry () |
| This is used to update the materials in part palette entry Created in NX8.0.1. | |
| NXOpen::Display::CgfxMattexBuilder::UseCameraDirectionPlane | UseCameraDirectionPlaneOption () |
| Returns the use camera direction plane option Created in NX7.5.2. | |
Public Member Functions inherited from NXOpen::Builder | |
| 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. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
Represents a Display::CgfxMattex 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.
The texture space type indicates the texture space type to use for CgFX shader.
<br> NOTE: This is deprecated. Please use TextureSpaceShader instead. <br>
The texture space shader type indicates the type of texture space shader to use for CgFX shader.
| std::vector<NXOpen::NXObject *> NXOpen::Display::CgfxMattexBuilder::GetAttributeValues | ( | ) |
Returns the attribute values.
| NXString NXOpen::Display::CgfxMattexBuilder::MaterialName | ( | ) |
Returns the material name
Created in NX5.0.0.
License requirements : None
| void NXOpen::Display::CgfxMattexBuilder::SetAttributeValues | ( | const std::vector< NXOpen::NXObject * > & | attributeValues | ) |
Sets the attribute values
Created in NX5.0.0.
License requirements : None
| attributeValues | attribute values |
| void NXOpen::Display::CgfxMattexBuilder::SetMaterialName | ( | const NXString & | materialName | ) |
Sets the material name
Created in NX5.0.0.
License requirements : None
| materialName | materialname |
| void NXOpen::Display::CgfxMattexBuilder::SetMaterialName | ( | const char * | materialName | ) |
Sets the material name
Created in NX5.0.0.
License requirements : None
| materialName | materialname |
| void NXOpen::Display::CgfxMattexBuilder::SetShadowCastingDisabled | ( | bool | disableShadowCasting | ) |
Sets the flag indicating if shadow casting is disabled
Created in NX6.0.5.
License requirements : None
| disableShadowCasting | disableshadowcasting |
| void NXOpen::Display::CgfxMattexBuilder::SetTechniqueType | ( | NXOpen::Display::CgfxMattexBuilder::Technique | technique | ) |
Sets the display techniques
Created in NX5.0.0.
License requirements : None
| technique | technique |
| void NXOpen::Display::CgfxMattexBuilder::SetTextureSpaceShaderType | ( | NXOpen::Display::CgfxMattexBuilder::TextureSpaceShader | textureSpaceShaderType | ) |
Sets the texture space shader type
Created in NX7.5.2.
License requirements : None
| textureSpaceShaderType | texture space shader type |
| void NXOpen::Display::CgfxMattexBuilder::SetUseCameraDirectionPlaneOption | ( | NXOpen::Display::CgfxMattexBuilder::UseCameraDirectionPlane | useCameraDiretionPlaneOption | ) |
Sets the use camera direction plane option
Created in NX7.5.2.
License requirements : None
| useCameraDiretionPlaneOption | use camera diretion plane option |
| bool NXOpen::Display::CgfxMattexBuilder::ShadowCastingDisabled | ( | ) |
Returns the flag indicating if shadow casting is disabled
Created in NX6.0.5.
License requirements : None
| NXOpen::Display::CgfxMattexBuilder::Technique NXOpen::Display::CgfxMattexBuilder::TechniqueType | ( | ) |
Returns the display techniques
Created in NX5.0.0.
License requirements : None
| NXOpen::Display::CgfxMattexBuilder::TextureSpaceShader NXOpen::Display::CgfxMattexBuilder::TextureSpaceShaderType | ( | ) |
Returns the texture space shader type
Created in NX7.5.2.
License requirements : None
| void NXOpen::Display::CgfxMattexBuilder::UpdateMaterialsInPartPaletteEntry | ( | ) |
This is used to update the materials in part palette entry
Created in NX8.0.1.
License requirements : None
| NXOpen::Display::CgfxMattexBuilder::UseCameraDirectionPlane NXOpen::Display::CgfxMattexBuilder::UseCameraDirectionPlaneOption | ( | ) |
Returns the use camera direction plane option
Created in NX7.5.2.
License requirements : None