#include <hps.h>
Additional Inherited Members | |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
![]() | |
Control (Control &&in_that) | |
Control & | operator= (Control &&in_that) |
The HPS::MaterialMappingControl class is a smart pointer that is tied to a database object. This object allows you to manipulate materials at the segment level. Examples of materials include texture, color, and gloss, among other things. Materials can be applied to geometry faces, edges, vertices, and text. Light color can also be set using this control. Materials can be applied at the segment, entity, or subentity level. In all MaterialMappingControl functions that take an RGBAColor, the alpha channel is ignored.
This table lists default values for the various segment attributes accessible from HPS::MaterialMappingControl.
|
explicit |
Initializes a control tied to the segment in_seg.
HPS::MaterialMappingControl::MaterialMappingControl | ( | MaterialMappingControl const & | in_that | ) |
Initializes a control tied to the same object as in_that.
HPS::MaterialMappingControl::MaterialMappingControl | ( | MaterialMappingControl && | in_that | ) |
The move constructor creates a MaterialMappingControl by transferring the underlying impl of the rvalue reference to this MaterialMappingControl thereby avoiding a copy and allocation.
in_that | An rvalue reference to a MaterialMappingControl to take the impl from. |
HPS::MaterialMappingControl::~MaterialMappingControl | ( | ) |
Releases a reference to the database object this control is tied to.
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
Reimplemented from HPS::Control.
MaterialMappingControl& HPS::MaterialMappingControl::operator= | ( | MaterialMappingControl && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this MaterialMappingControl thereby avoiding a copy.
in_that | An rvalue reference to a MaterialMappingControl to take the impl from. |
MaterialMappingControl& HPS::MaterialMappingControl::operator= | ( | MaterialMappingControl const & | in_that | ) |
Share the smart-pointer.
MaterialMappingControl& HPS::MaterialMappingControl::SetAmbientLightColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color on both ambient and ambient down using an RGBAColor, replacing any previous mapping to those geometry types.
in_rgba_color | An RGBA color that will be applied to those geometry types. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetAmbientLightDownColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
in_rgba_color | A color to apply to this geometry type. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetAmbientLightDownMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. Because this geometry only supports a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetAmbientLightMaterialByIndex | ( | float | in_material_index | ) |
Sets a color on both ambient and ambient down by using in_material_index to index into the active material palette, replacing any previous mapping to those geometry types. Because these geometry types only support a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetAmbientLightUpColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
in_rgba_color | A color to apply to this geometry type. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetAmbientLightUpMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. Because this geometry only supports a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetBackFaceAlpha | ( | float | in_alpha | ) |
Sets an alpha on the diffuse channel using in_alpha on the back face, replacing any previous mapping to that channel on this geometry type. If diffuse channel doesn't exist, white is used as the default value on diffuse channel with alpha value of in_alpha
in_alpha | A color to apply to the diffuse channel of this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetBackFaceColor | ( | RGBAColor const & | in_rgba_color, |
Material::Color::Channel | in_channel = Material::Color::Channel::DiffuseColor |
||
) |
Sets a color on a particular channel using an RGBAColor on the back face, replacing any previous mapping to that channel on this geometry type.
in_rgba_color | A color to apply to the specified channel of this geometry type. Currently only the DiffuseColor channel supports alpha, it is ignored otherwise. |
in_channel | The color channel to apply the color to. |
MaterialMappingControl& HPS::MaterialMappingControl::SetBackFaceGloss | ( | float | in_value | ) |
Sets the gloss – general "shininess" – of this geometry type.
in_value | A gloss value is always positive, and most surfaces have a gloss in the range from 1.0 to 30.0. |
MaterialMappingControl& HPS::MaterialMappingControl::SetBackFaceMaterial | ( | MaterialKit const & | in_material | ) |
Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type.
in_material | A material kit to be applied to all channels on this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetBackFaceMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetBackFaceModulatedTexture | ( | char const * | in_texture_name, |
RGBAColor const & | in_modulating_color, | ||
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture on a particular channel, replacing any previous mapping to that channel on this geometry type. The texture will be modulated by the specified color. The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_modulating_color | a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetBackFaceTexture | ( | char const * | in_texture_name, |
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture in_texture_name on the channel in_channel on the back face, replacing any previous mapping to that channel on this geometry type. The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutEdgeColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
in_rgba_color | A color to apply to this geometry type. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutEdgeMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. Because this geometry only supports a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutFaceAlpha | ( | float | in_alpha | ) |
Sets an alpha on the diffuse channel using in_alpha, replacing any previous mapping to that channel on this geometry type. If diffuse channel doesn't exist, white is used as the default value on diffuse channel with alpha value of in_alpha
in_alpha | A color to apply to the diffuse channel of this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutFaceColor | ( | RGBAColor const & | in_rgba_color, |
Material::Color::Channel | in_channel = Material::Color::Channel::DiffuseColor |
||
) |
Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type.
in_rgba_color | A color to apply to the specified channel of this geometry type. Currently only the DiffuseColor channel supports alpha, it is ignored otherwise. |
in_channel | The color channel to apply the color to. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutFaceGloss | ( | float | in_value | ) |
Sets the gloss – general "shininess" – of this geometry type.
in_value | A gloss value is always positive, and most surfaces have a gloss in the range from 1.0 to 30.0. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutFaceMaterial | ( | MaterialKit const & | in_material | ) |
Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type.
in_material | A material kit to be applied to all channels on this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutFaceMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutFaceModulatedTexture | ( | char const * | in_texture_name, |
RGBAColor const & | in_modulating_color, | ||
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture on a particular channel, replacing any previous mapping to that channel on this geometry type. The texture will be modulated by the specified color. The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_modulating_color | a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutFaceTexture | ( | char const * | in_texture_name, |
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture in_texture_name on the channel in_channel, replacing any previous mapping to that channel on this geometry type. The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutGeometryColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color on both cut edges and cut faces using an RGBAColor, replacing any previous mapping to those geometry types.
in_rgba_color | An RGBA color that will be applied to those geometry types. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutGeometryMaterialByIndex | ( | float | in_color_index | ) |
Sets a color on both cut edges and cut faces by using in_material_index to index into the active material palette, replacing any previous mapping to those geometry types.
in_color_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetEdgeAlpha | ( | float | in_alpha | ) |
Sets an alpha on the diffuse channel using in_alpha, replacing any previous mapping to that channel on this geometry type. If diffuse channel doesn't exist, white is used as the default value on diffuse channel with alpha value of in_alpha
in_alpha | A color to apply to the diffuse channel of this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetEdgeColor | ( | RGBAColor const & | in_rgba_color, |
Material::Color::Channel | in_channel = Material::Color::Channel::DiffuseColor |
||
) |
Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type.
in_rgba_color | A color to apply to the specified channel of this geometry type. Currently only the DiffuseColor channel supports alpha, it is ignored otherwise. |
in_channel | The color channel to apply the color to. |
MaterialMappingControl& HPS::MaterialMappingControl::SetEdgeGloss | ( | float | in_value | ) |
Sets the gloss – general "shininess" – of this geometry type.
in_value | A gloss value is always positive, and most surfaces have a gloss in the range from 1.0 to 30.0. |
MaterialMappingControl& HPS::MaterialMappingControl::SetEdgeMaterial | ( | MaterialKit const & | in_material | ) |
Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type.
in_material | A material kit to be applied to all channels on this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetEdgeMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetEdgeModulatedTexture | ( | char const * | in_texture_name, |
RGBAColor const & | in_modulating_color, | ||
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture on a particular channel, replacing any previous mapping to that channel on this geometry type. The texture will be modulated by the specified color. The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_modulating_color | a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetEdgeTexture | ( | char const * | in_texture_name, |
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture in_texture_name on the channel in_channel, replacing any previous mapping to that channel on this geometry type. The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFaceAlpha | ( | float | in_alpha | ) |
Sets an alpha on the diffuse channel using in_alpha, replacing any previous mapping to that channel on this geometry type. This function sets the alpha for both the front and back faces. If diffuse channel doesn't exist, white is used as the default value on diffuse channel with alpha value of in_alpha
in_alpha | A color to apply to the diffuse channel of this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFaceColor | ( | RGBAColor const & | in_rgba_color, |
Material::Color::Channel | in_channel = Material::Color::Channel::DiffuseColor |
||
) |
Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type. This function sets the color for both the front and back faces.
in_rgba_color | A color to apply to the specified channel of this geometry type. Currently only the DiffuseColor channel supports alpha, it is ignored otherwise. |
in_channel | The color channel to apply the color to. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFaceGloss | ( | float | in_value | ) |
Sets the gloss – general "shininess" – of this geometry type.
in_value | A gloss value is always positive, and most surfaces have a gloss in the range from 1.0 to 30.0. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFaceMaterial | ( | MaterialKit const & | in_material | ) |
Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type.
in_material | A material kit to be applied to all channels on this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFaceMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFaceModulatedTexture | ( | char const * | in_texture_name, |
RGBAColor const & | in_modulating_color, | ||
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture on a particular channel, replacing any previous mapping to that channel on this geometry type. The texture will be modulated by the specified color. The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_modulating_color | a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFaceShader | ( | char const * | in_shader_name | ) |
Applies a shader by name, replacing any previous mapping to the DiffuseTexture channel on this geometry type.
in_shader_name | The name of a shader, defined in a portfolio that is accessible. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFaceTexture | ( | char const * | in_texture_name, |
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture in_texture_name on the channel in_channel, replacing any previous mapping to that channel on this geometry type. The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFrontFaceAlpha | ( | float | in_alpha | ) |
Sets an alpha on the diffuse channel using in_alpha, replacing any previous mapping to that channel on this geometry type. If diffuse channel doesn't exist, white is used as the default value on diffuse channel with alpha value of in_alpha
in_alpha | A color to apply to the diffuse channel of this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFrontFaceColor | ( | RGBAColor const & | in_rgba_color, |
Material::Color::Channel | in_channel = Material::Color::Channel::DiffuseColor |
||
) |
Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type.
in_rgba_color | A color to apply to the specified channel of this geometry type. Currently only the DiffuseColor channel supports alpha, it is ignored otherwise. |
in_channel | The color channel to apply the color to. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFrontFaceGloss | ( | float | in_value | ) |
Sets the gloss – general "shininess" – of this geometry type.
in_value | A gloss value is always positive, and most surfaces have a gloss in the range from 1.0 to 30.0. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFrontFaceMaterial | ( | MaterialKit const & | in_material | ) |
Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type.
in_material | A material kit to be applied to all channels on this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFrontFaceMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFrontFaceModulatedTexture | ( | char const * | in_texture_name, |
RGBAColor const & | in_modulating_color, | ||
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture on a particular channel, replacing any previous mapping to that channel on this geometry type. The texture will be modulated by the specified color. The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_modulating_color | a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFrontFaceTexture | ( | char const * | in_texture_name, |
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture in_texture_name on the channel in_channel, replacing any previous mapping to that channel on this geometry type. The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetLightColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
in_rgba_color | A color to apply to this geometry type. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetLightMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. Because this geometry only supports a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetLineColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
in_rgba_color | A color to apply to this geometry type. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetLineMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. Because this geometry only supports a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetMarkerColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
in_rgba_color | A color to apply to this geometry type. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetMarkerMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. Because this geometry only supports a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetTextColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
in_rgba_color | A color to apply to this geometry type. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetTextMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. Because this geometry only supports a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetVertexAlpha | ( | float | in_alpha | ) |
Sets an alpha on the diffuse channel using in_alpha, replacing any previous mapping to that channel on this geometry type. If diffuse channel doesn't exist, white is used as the default value on diffuse channel with alpha value of in_alpha
in_alpha | A color to apply to the diffuse channel of this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetVertexColor | ( | RGBAColor const & | in_rgba_color, |
Material::Color::Channel | in_channel = Material::Color::Channel::DiffuseColor |
||
) |
Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type.
in_rgba_color | A color to apply to the specified channel of this geometry type. Currently only the DiffuseColor channel supports alpha, it is ignored otherwise. |
in_channel | The color channel to apply the color to. |
MaterialMappingControl& HPS::MaterialMappingControl::SetVertexGloss | ( | float | in_value | ) |
Sets the gloss – general "shininess" – of this geometry type.
in_value | A gloss value is always positive, and most surfaces have a gloss in the range from 1.0 to 30.0. |
MaterialMappingControl& HPS::MaterialMappingControl::SetVertexMaterial | ( | MaterialKit const & | in_material | ) |
Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type.
in_material | A material kit to be applied to all channels on this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetVertexMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetVertexModulatedTexture | ( | char const * | in_texture_name, |
RGBAColor const & | in_modulating_color, | ||
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture on a particular channel, replacing any previous mapping to that channel on this geometry type. The texture will be modulated by the specified color. The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_modulating_color | a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetVertexShader | ( | char const * | in_shader_name | ) |
Applies a shader by name, replacing any previous mapping to the DiffuseTexture channel on this geometry type.
in_shader_name | The name of a shader, defined in a portfolio that is accessible. |
MaterialMappingControl& HPS::MaterialMappingControl::SetVertexTexture | ( | char const * | in_texture_name, |
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture in_texture_name on the channel in_channel, replacing any previous mapping to that channel on this geometry type. The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetWindowColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
in_rgba_color | An RGBA color that will be applied to this geometry types. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetWindowContrastColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
in_rgba_color | An RGBA color that will be applied to this geometry types. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetWindowContrastMaterialByIndex | ( | float | in_material_index | ) |
Sets a color by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. Because this geometry only supports a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetWindowMaterialByIndex | ( | float | in_material_index | ) |
Sets a color by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. Because this geometry only supports a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
bool HPS::MaterialMappingControl::ShowAmbientLightDownColor | ( | Material::Type & | out_type, |
RGBAColor & | out_rgba_color, | ||
float & | out_value | ||
) | const |
Shows the material mapping for this geometry type. The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowAmbientLightUpColor | ( | Material::Type & | out_type, |
RGBAColor & | out_rgba_color, | ||
float & | out_value | ||
) | const |
Shows the material mapping for this geometry type. The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowBackFaceChannel | ( | Material::Channel | in_channel, |
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowBackFaceChannel | ( | Material::Channel | in_channel, |
size_t | in_layer, | ||
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
in_layer | The specific layer of in_channel to query. Currently only relevant for DiffuseTexture, ignored otherwise. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowBackFaceMaterial | ( | Material::Type & | out_type, |
MaterialKit & | out_kit, | ||
float & | out_value | ||
) | const |
Shows the material mapping for all channels of this geometry type. The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_kit | If out_type is FullMaterial, this value contains the material. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowCutEdgeColor | ( | Material::Type & | out_type, |
RGBAColor & | out_rgba_color, | ||
float & | out_value | ||
) | const |
Shows the material mapping for this geometry type. The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowCutFaceChannel | ( | Material::Channel | in_channel, |
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowCutFaceChannel | ( | Material::Channel | in_channel, |
size_t | in_layer, | ||
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
in_layer | The specific layer of in_channel to query. Currently only relevant for DiffuseTexture, ignored otherwise. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowCutFaceMaterial | ( | Material::Type & | out_type, |
MaterialKit & | out_kit, | ||
float & | out_value | ||
) | const |
Shows the material mapping for all channels of this geometry type. The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_kit | If out_type is FullMaterial, this value contains the material. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowEdgeChannel | ( | Material::Channel | in_channel, |
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowEdgeChannel | ( | Material::Channel | in_channel, |
size_t | in_layer, | ||
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
in_layer | The specific layer of in_channel to query. Currently only relevant for DiffuseTexture, ignored otherwise. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowEdgeMaterial | ( | Material::Type & | out_type, |
MaterialKit & | out_kit, | ||
float & | out_value | ||
) | const |
Shows the material mapping for all channels of this geometry type. The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_kit | If out_type is FullMaterial, this value contains the material. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowFaceChannel | ( | Material::Channel | in_channel, |
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowFaceChannel | ( | Material::Channel | in_channel, |
size_t | in_layer, | ||
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
in_layer | The specific layer of in_channel to query. Currently only relevant for DiffuseTexture, ignored otherwise. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowFaceMaterial | ( | Material::Type & | out_type, |
MaterialKit & | out_kit, | ||
float & | out_value | ||
) | const |
Shows the material mapping for all channels of this geometry type. The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_kit | If out_type is FullMaterial, this value contains the material. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowFrontFaceChannel | ( | Material::Channel | in_channel, |
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowFrontFaceChannel | ( | Material::Channel | in_channel, |
size_t | in_layer, | ||
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
in_layer | The specific layer of in_channel to query. Currently only relevant for DiffuseTexture, ignored otherwise. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowFrontFaceMaterial | ( | Material::Type & | out_type, |
MaterialKit & | out_kit, | ||
float & | out_value | ||
) | const |
Shows the material mapping for all channels of this geometry type. The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_kit | If out_type is FullMaterial, this value contains the material. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowLightColor | ( | Material::Type & | out_type, |
RGBAColor & | out_rgba_color, | ||
float & | out_value | ||
) | const |
Shows the material mapping for this geometry type. The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowLineColor | ( | Material::Type & | out_type, |
RGBAColor & | out_rgba_color, | ||
float & | out_value | ||
) | const |
Shows the material mapping for this geometry type. The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowMarkerColor | ( | Material::Type & | out_type, |
RGBAColor & | out_rgba_color, | ||
float & | out_value | ||
) | const |
Shows the material mapping for this geometry type. The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowTextColor | ( | Material::Type & | out_type, |
RGBAColor & | out_rgba_color, | ||
float & | out_value | ||
) | const |
Shows the material mapping for this geometry type. The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowVertexChannel | ( | Material::Channel | in_channel, |
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowVertexChannel | ( | Material::Channel | in_channel, |
size_t | in_layer, | ||
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
in_layer | The specific layer of in_channel to query. Currently only relevant for DiffuseTexture, ignored otherwise. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowVertexMaterial | ( | Material::Type & | out_type, |
MaterialKit & | out_kit, | ||
float & | out_value | ||
) | const |
Shows the material mapping for all channels of this geometry type. The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_kit | If out_type is FullMaterial, this value contains the material. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowWindowColor | ( | Material::Type & | out_type, |
RGBAColor & | out_rgba_color, | ||
float & | out_value | ||
) | const |
Shows the material mapping for this geometry type. The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowWindowContrastColor | ( | Material::Type & | out_type, |
RGBAColor & | out_rgba_color, | ||
float & | out_value | ||
) | const |
Shows the material mapping for this geometry type. The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_rgba_color | If out_type is ExplicitRGBAColor, this value contains the color. |
out_value | If out_type is MaterialIndex, this value contains the index. |
MaterialMappingControl& HPS::MaterialMappingControl::UnsetAmbientLightColor | ( | ) |
Removes the material mapping for both ambient light up and ambient light down.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetAmbientLightDownColor | ( | ) |
Removes the material mapping for this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetAmbientLightUpColor | ( | ) |
Removes the material mapping for this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetBackFaceChannel | ( | Material::Channel | in_channel | ) |
Removes the material mapping for one channel of this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetBackFaceChannel | ( | Material::Channel | in_channel, |
size_t | in_layer | ||
) |
Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetBackFaceMaterial | ( | ) |
Removes the material mapping for all channels of this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetCutEdgeColor | ( | ) |
Removes the material mapping for this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetCutFaceChannel | ( | Material::Channel | in_channel | ) |
Removes the material mapping for one channel of this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetCutFaceChannel | ( | Material::Channel | in_channel, |
size_t | in_layer | ||
) |
Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetCutFaceMaterial | ( | ) |
Removes the material mapping for all channels of this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetCutGeometryColor | ( | ) |
Removes the material mapping for both cut edges and cut faces.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetEdgeChannel | ( | Material::Channel | in_channel | ) |
Removes the material mapping for one channel of this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetEdgeChannel | ( | Material::Channel | in_channel, |
size_t | in_layer | ||
) |
Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetEdgeMaterial | ( | ) |
Removes the material mapping for all channels of this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetEverything | ( | ) |
Removes all settings from this object.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetFaceChannel | ( | Material::Channel | in_channel | ) |
Removes the material mapping for one channel of this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetFaceChannel | ( | Material::Channel | in_channel, |
size_t | in_layer | ||
) |
Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetFaceMaterial | ( | ) |
Removes the material mapping for all channels of this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetFrontFaceChannel | ( | Material::Channel | in_channel | ) |
Removes the material mapping for one channel of this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetFrontFaceChannel | ( | Material::Channel | in_channel, |
size_t | in_layer | ||
) |
Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetFrontFaceMaterial | ( | ) |
Removes the material mapping for all channels of this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetLightColor | ( | ) |
Removes the material mapping for this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetLineColor | ( | ) |
Removes the material mapping for this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetMarkerColor | ( | ) |
Removes the material mapping for this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetTextColor | ( | ) |
Removes the material mapping for this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetVertexChannel | ( | Material::Channel | in_channel | ) |
Removes the material mapping for one channel of this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetVertexChannel | ( | Material::Channel | in_channel, |
size_t | in_layer | ||
) |
Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetVertexMaterial | ( | ) |
Removes the material mapping for all channels of this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetWindowColor | ( | ) |
Removes the material mapping for this geometry type.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetWindowContrastColor | ( | ) |
Removes the material mapping for this geometry type.