MaterialMappingControl
-
class
HPS.MaterialMappingControl: HPS.Control 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.
Public Functions
-
override void
Dispose()
-
MaterialMappingControl(HPS.MaterialMappingControl in_that) Initializes a control tied to the same object as in_that.
-
MaterialMappingControl(HPS.SegmentKey in_seg) Initializes a control tied to the segment in_seg.
-
override HPS.Type
ObjectType() This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
Return: The declared type of the object in question, which may differ from the true, underlying type.
-
HPS.MaterialMappingControl
SetAmbientLightColor(HPS.RGBAColor in_rgba_color) Sets a color on both ambient and ambient down using an RGBAColor, replacing any previous mapping to those geometry types.
Param in_rgba_color: An RGBA color that will be applied to those geometry types. Alpha channel is ignored. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetAmbientLightDownColor(HPS.RGBAColor in_rgba_color) Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
Param in_rgba_color: A color to apply to this geometry type. Alpha channel is ignored. Return: A reference to this object.
-
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.
Param in_material_index: An index into the active material palette. Return: A reference to this object.
-
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.
Param in_material_index: An index into the active material palette. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetAmbientLightUpColor(HPS.RGBAColor in_rgba_color) Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
Param in_rgba_color: A color to apply to this geometry type. Alpha channel is ignored. Return: A reference to this object.
-
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.
Param in_material_index: An index into the active material palette. Return: A reference to this object.
-
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
Param in_alpha: A color to apply to the diffuse channel of this geometry type. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetBackFaceColor(HPS.RGBAColor in_rgba_color) 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.
Param 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. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetBackFaceColor(HPS.RGBAColor in_rgba_color, HPS.Material.Color.Channel in_channel) 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.
Param 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. Param in_channel: The color channel to apply the color to. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetBackFaceGloss(float in_value) Sets the gloss <ndash > general “shininess” <ndash > of this geometry type.
Param in_value: A gloss value is always positive, and most surfaces have a gloss in the range from 1.0 to 30.0. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetBackFaceMaterial(HPS.MaterialKit in_material) Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type.
Param in_material: A material kit to be applied to all channels on this geometry type. Return: A reference to this object.
-
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.
Param in_material_index: An index into the active material palette. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetBackFaceModulatedTexture(string in_texture_name, HPS.RGBAColor in_modulating_color) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_modulating_color: a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetBackFaceModulatedTexture(string in_texture_name, HPS.RGBAColor in_modulating_color, HPS.Material.Texture.Channel in_channel) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_modulating_color: a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. Param in_channel: The texture channel to apply the texture to. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetBackFaceModulatedTexture(string in_texture_name, HPS.RGBAColor in_modulating_color, HPS.Material.Texture.Channel in_channel, ulong in_layer) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_modulating_color: a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. Param in_channel: The texture channel to apply the texture to. Param in_layer: The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetBackFaceTexture(string in_texture_name) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetBackFaceTexture(string in_texture_name, HPS.Material.Texture.Channel in_channel) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_channel: The texture channel to apply the texture to. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetBackFaceTexture(string in_texture_name, HPS.Material.Texture.Channel in_channel, ulong in_layer) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_channel: The texture channel to apply the texture to. Param in_layer: The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetCutEdgeColor(HPS.RGBAColor in_rgba_color) Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
Param in_rgba_color: A color to apply to this geometry type. Alpha channel is ignored. Return: A reference to this object.
-
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.
Param in_material_index: An index into the active material palette. Return: A reference to this object.
-
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
Param in_alpha: A color to apply to the diffuse channel of this geometry type. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetCutFaceColor(HPS.RGBAColor in_rgba_color) Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type.
Param 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. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetCutFaceColor(HPS.RGBAColor in_rgba_color, HPS.Material.Color.Channel in_channel) Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type.
Param 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. Param in_channel: The color channel to apply the color to. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetCutFaceGloss(float in_value) Sets the gloss <ndash > general “shininess” <ndash > of this geometry type.
Param in_value: A gloss value is always positive, and most surfaces have a gloss in the range from 1.0 to 30.0. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetCutFaceMaterial(HPS.MaterialKit in_material) Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type.
Param in_material: A material kit to be applied to all channels on this geometry type. Return: A reference to this object.
-
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.
Param in_material_index: An index into the active material palette. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetCutFaceModulatedTexture(string in_texture_name, HPS.RGBAColor in_modulating_color) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_modulating_color: a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetCutFaceModulatedTexture(string in_texture_name, HPS.RGBAColor in_modulating_color, HPS.Material.Texture.Channel in_channel) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_modulating_color: a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. Param in_channel: The texture channel to apply the texture to. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetCutFaceModulatedTexture(string in_texture_name, HPS.RGBAColor in_modulating_color, HPS.Material.Texture.Channel in_channel, ulong in_layer) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_modulating_color: a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. Param in_channel: The texture channel to apply the texture to. Param in_layer: The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetCutFaceTexture(string in_texture_name) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetCutFaceTexture(string in_texture_name, HPS.Material.Texture.Channel in_channel) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_channel: The texture channel to apply the texture to. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetCutFaceTexture(string in_texture_name, HPS.Material.Texture.Channel in_channel, ulong in_layer) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_channel: The texture channel to apply the texture to. Param in_layer: The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetCutGeometryColor(HPS.RGBAColor in_rgba_color) Sets a color on both cut edges and cut faces using an RGBAColor, replacing any previous mapping to those geometry types.
Param in_rgba_color: An RGBA color that will be applied to those geometry types. Alpha channel is ignored. Return: A reference to this object.
-
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.
Param in_color_index: An index into the active material palette. Return: A reference to this object.
-
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
Param in_alpha: A color to apply to the diffuse channel of this geometry type. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetEdgeColor(HPS.RGBAColor in_rgba_color) Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type.
Param 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. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetEdgeColor(HPS.RGBAColor in_rgba_color, HPS.Material.Color.Channel in_channel) Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type.
Param 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. Param in_channel: The color channel to apply the color to. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetEdgeGloss(float in_value) Sets the gloss <ndash > general “shininess” <ndash > of this geometry type.
Param in_value: A gloss value is always positive, and most surfaces have a gloss in the range from 1.0 to 30.0. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetEdgeMaterial(HPS.MaterialKit in_material) Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type.
Param in_material: A material kit to be applied to all channels on this geometry type. Return: A reference to this object.
-
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.
Param in_material_index: An index into the active material palette. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetEdgeModulatedTexture(string in_texture_name, HPS.RGBAColor in_modulating_color) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_modulating_color: a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetEdgeModulatedTexture(string in_texture_name, HPS.RGBAColor in_modulating_color, HPS.Material.Texture.Channel in_channel) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_modulating_color: a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. Param in_channel: The texture channel to apply the texture to. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetEdgeModulatedTexture(string in_texture_name, HPS.RGBAColor in_modulating_color, HPS.Material.Texture.Channel in_channel, ulong in_layer) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_modulating_color: a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. Param in_channel: The texture channel to apply the texture to. Param in_layer: The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetEdgeTexture(string in_texture_name) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetEdgeTexture(string in_texture_name, HPS.Material.Texture.Channel in_channel) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_channel: The texture channel to apply the texture to. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetEdgeTexture(string in_texture_name, HPS.Material.Texture.Channel in_channel, ulong in_layer) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_channel: The texture channel to apply the texture to. Param in_layer: The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. Return: A reference to this object.
-
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
Param in_alpha: A color to apply to the diffuse channel of this geometry type. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFaceColor(HPS.RGBAColor in_rgba_color) 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.
Param 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. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFaceColor(HPS.RGBAColor in_rgba_color, HPS.Material.Color.Channel in_channel) 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.
Param 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. Param in_channel: The color channel to apply the color to. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFaceGloss(float in_value) Sets the gloss <ndash > general “shininess” <ndash > of this geometry type.
Param in_value: A gloss value is always positive, and most surfaces have a gloss in the range from 1.0 to 30.0. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFaceMaterial(HPS.MaterialKit in_material) Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type.
Param in_material: A material kit to be applied to all channels on this geometry type. Return: A reference to this object.
-
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.
Param in_material_index: An index into the active material palette. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFaceModulatedTexture(string in_texture_name, HPS.RGBAColor in_modulating_color) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_modulating_color: a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFaceModulatedTexture(string in_texture_name, HPS.RGBAColor in_modulating_color, HPS.Material.Texture.Channel in_channel) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_modulating_color: a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. Param in_channel: The texture channel to apply the texture to. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFaceModulatedTexture(string in_texture_name, HPS.RGBAColor in_modulating_color, HPS.Material.Texture.Channel in_channel, ulong in_layer) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_modulating_color: a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. Param in_channel: The texture channel to apply the texture to. Param in_layer: The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFaceTexture(string in_texture_name) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFaceTexture(string in_texture_name, HPS.Material.Texture.Channel in_channel) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_channel: The texture channel to apply the texture to. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFaceTexture(string in_texture_name, HPS.Material.Texture.Channel in_channel, ulong in_layer) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_channel: The texture channel to apply the texture to. Param in_layer: The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. Return: A reference to this object.
-
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
Param in_alpha: A color to apply to the diffuse channel of this geometry type. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFrontFaceColor(HPS.RGBAColor in_rgba_color) Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type.
Param 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. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFrontFaceColor(HPS.RGBAColor in_rgba_color, HPS.Material.Color.Channel in_channel) Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type.
Param 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. Param in_channel: The color channel to apply the color to. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFrontFaceGloss(float in_value) Sets the gloss <ndash > general “shininess” <ndash > of this geometry type.
Param in_value: A gloss value is always positive, and most surfaces have a gloss in the range from 1.0 to 30.0. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFrontFaceMaterial(HPS.MaterialKit in_material) Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type.
Param in_material: A material kit to be applied to all channels on this geometry type. Return: A reference to this object.
-
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.
Param in_material_index: An index into the active material palette. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFrontFaceModulatedTexture(string in_texture_name, HPS.RGBAColor in_modulating_color) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_modulating_color: a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFrontFaceModulatedTexture(string in_texture_name, HPS.RGBAColor in_modulating_color, HPS.Material.Texture.Channel in_channel) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_modulating_color: a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. Param in_channel: The texture channel to apply the texture to. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFrontFaceModulatedTexture(string in_texture_name, HPS.RGBAColor in_modulating_color, HPS.Material.Texture.Channel in_channel, ulong in_layer) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_modulating_color: a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. Param in_channel: The texture channel to apply the texture to. Param in_layer: The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFrontFaceTexture(string in_texture_name) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFrontFaceTexture(string in_texture_name, HPS.Material.Texture.Channel in_channel) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_channel: The texture channel to apply the texture to. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetFrontFaceTexture(string in_texture_name, HPS.Material.Texture.Channel in_channel, ulong in_layer) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_channel: The texture channel to apply the texture to. Param in_layer: The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetGeometryColor(HPS.RGBAColor in_rgba_color) Sets a color on all basic geometry types (faces, edges, lines, markers, vertices, text) using an RGBAColor, replacing any previous mapping to those geometry types.
Param in_rgba_color: An RGBA color that will be applied to all basic geometry types. Alpha channel is ignored. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetLightColor(HPS.RGBAColor in_rgba_color) Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
Param in_rgba_color: A color to apply to this geometry type. Alpha channel is ignored. Return: A reference to this object.
-
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.
Param in_material_index: An index into the active material palette. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetLineAlpha(float in_alpha) Sets an alpha on the diffuse channel using in_alpha, replacing any previous mapping to that channel on this geometry type.
Param in_alpha: A color to apply to the diffuse channel of this geometry type. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetLineColor(HPS.RGBAColor in_rgba_color) Sets a color using an RGBAColor, replacing any previous mapping to this geometry type. Note that this function implicitly sets an alpha value for lines if an RGBColor is passed in. The alpha value can be modified either by calling this function again, or by calling SetLineAlpha.
Param in_rgba_color: A color to apply to this geometry type. Alpha channel is ignored. Return: A reference to this object.
-
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.
Param in_material_index: An index into the active material palette. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetMarkerColor(HPS.RGBAColor in_rgba_color) Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
Param in_rgba_color: A color to apply to this geometry type. Alpha channel is ignored. Return: A reference to this object.
-
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.
Param in_material_index: An index into the active material palette. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetTextColor(HPS.RGBAColor in_rgba_color) Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
Param in_rgba_color: A color to apply to this geometry type. Alpha channel is ignored. Return: A reference to this object.
-
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.
Param in_material_index: An index into the active material palette. Return: A reference to this object.
-
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
Param in_alpha: A color to apply to the diffuse channel of this geometry type. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetVertexColor(HPS.RGBAColor in_rgba_color) Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type.
Param 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. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetVertexColor(HPS.RGBAColor in_rgba_color, HPS.Material.Color.Channel in_channel) Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type.
Param 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. Param in_channel: The color channel to apply the color to. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetVertexGloss(float in_value) Sets the gloss <ndash > general “shininess” <ndash > of this geometry type.
Param in_value: A gloss value is always positive, and most surfaces have a gloss in the range from 1.0 to 30.0. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetVertexMaterial(HPS.MaterialKit in_material) Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type.
Param in_material: A material kit to be applied to all channels on this geometry type. Return: A reference to this object.
-
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.
Param in_material_index: An index into the active material palette. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetVertexModulatedTexture(string in_texture_name, HPS.RGBAColor in_modulating_color) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_modulating_color: a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetVertexModulatedTexture(string in_texture_name, HPS.RGBAColor in_modulating_color, HPS.Material.Texture.Channel in_channel) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_modulating_color: a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. Param in_channel: The texture channel to apply the texture to. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetVertexModulatedTexture(string in_texture_name, HPS.RGBAColor in_modulating_color, HPS.Material.Texture.Channel in_channel, ulong in_layer) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_modulating_color: a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. Param in_channel: The texture channel to apply the texture to. Param in_layer: The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetVertexTexture(string in_texture_name) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetVertexTexture(string in_texture_name, HPS.Material.Texture.Channel in_channel) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_channel: The texture channel to apply the texture to. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetVertexTexture(string in_texture_name, HPS.Material.Texture.Channel in_channel, ulong in_layer) 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.
Param in_texture_name: The name of a texture, defined in a portfolio that is accessible. Param in_channel: The texture channel to apply the texture to. Param in_layer: The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetWindowColor(HPS.RGBAColor in_rgba_color) Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
Param in_rgba_color: An RGBA color that will be applied to this geometry types. Alpha channel is ignored. Return: A reference to this object.
-
HPS.MaterialMappingControl
SetWindowContrastColor(HPS.RGBAColor in_rgba_color) Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
Param in_rgba_color: An RGBA color that will be applied to this geometry types. Alpha channel is ignored. Return: A reference to this object.
-
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.
Param in_material_index: An index into the active material palette. Return: A reference to this object.
-
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.
Param in_material_index: An index into the active material palette. Return: A reference to this object.
-
bool
ShowAmbientLightDownColor(out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out float out_value) Shows the material mapping for this geometry type. The out_type parameter indicates which of the other arguments is valid.
Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor, this value contains the color. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowAmbientLightUpColor(out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out float out_value) Shows the material mapping for this geometry type. The out_type parameter indicates which of the other arguments is valid.
Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor, this value contains the color. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowBackFaceChannel(HPS.Material.Channel in_channel, out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out string out_texture_name, out float out_value) 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.
Param in_channel: The channel to query. Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor or RGBColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. Param out_texture_name: If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. Param out_value: If out_type is MaterialIndex, this value contains the index. If out_type is DiffuseChannelAlpha, this value contains the alpha value. If out_type is GlossValue, this value contains the gloss value. Return: true if the setting is valid, false otherwise.
-
bool
ShowBackFaceChannel(HPS.Material.Channel in_channel, ulong in_layer, out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out string out_texture_name, out float out_value) 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.
Param in_channel: The channel to query. Param in_layer: The specific layer of in_channel to query. Currently only relevant for DiffuseTexture, ignored otherwise. Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor or RGBColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. Param out_texture_name: If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. Param out_value: If out_type is MaterialIndex, this value contains the index. If out_type is DiffuseChannelAlpha, this value contains the alpha value. If out_type is GlossValue, this value contains the gloss value. Return: true if the setting is valid, false otherwise.
-
bool
ShowBackFaceMaterial(out HPS.Material.Type out_type, out HPS.MaterialKit out_kit, out float out_value) Shows the material mapping for all channels of this geometry type. The out_type parameter indicates which of the other arguments is valid.
Param out_type: Indicates the type of material. Param out_kit: If out_type is FullMaterial, this value contains the material. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowCutEdgeColor(out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out float out_value) Shows the material mapping for this geometry type. The out_type parameter indicates which of the other arguments is valid.
Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor, this value contains the color. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowCutFaceChannel(HPS.Material.Channel in_channel, out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out string out_texture_name, out float out_value) 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.
Param in_channel: The channel to query. Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. Param out_texture_name: If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowCutFaceChannel(HPS.Material.Channel in_channel, ulong in_layer, out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out string out_texture_name, out float out_value) 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.
Param in_channel: The channel to query. Param in_layer: The specific layer of in_channel to query. Currently only relevant for DiffuseTexture, ignored otherwise. Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. Param out_texture_name: If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowCutFaceMaterial(out HPS.Material.Type out_type, out HPS.MaterialKit out_kit, out float out_value) Shows the material mapping for all channels of this geometry type. The out_type parameter indicates which of the other arguments is valid.
Param out_type: Indicates the type of material. Param out_kit: If out_type is FullMaterial, this value contains the material. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowEdgeChannel(HPS.Material.Channel in_channel, out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out string out_texture_name, out float out_value) 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.
Param in_channel: The channel to query. Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. Param out_texture_name: If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowEdgeChannel(HPS.Material.Channel in_channel, ulong in_layer, out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out string out_texture_name, out float out_value) 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.
Param in_channel: The channel to query. Param in_layer: The specific layer of in_channel to query. Currently only relevant for DiffuseTexture, ignored otherwise. Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. Param out_texture_name: If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowEdgeMaterial(out HPS.Material.Type out_type, out HPS.MaterialKit out_kit, out float out_value) Shows the material mapping for all channels of this geometry type. The out_type parameter indicates which of the other arguments is valid.
Param out_type: Indicates the type of material. Param out_kit: If out_type is FullMaterial, this value contains the material. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowFaceChannel(HPS.Material.Channel in_channel, out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out string out_texture_name, out float out_value) 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.
Param in_channel: The channel to query. Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor or RGBColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. Param out_texture_name: If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. Param out_value: If out_type is MaterialIndex, this value contains the index. If out_type is DiffuseChannelAlpha, this value contains the alpha value. If out_type is GlossValue, this value contains the gloss value. Return: true if the setting is valid, false otherwise.
-
bool
ShowFaceChannel(HPS.Material.Channel in_channel, ulong in_layer, out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out string out_texture_name, out float out_value) 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.
Param in_channel: The channel to query. Param in_layer: The specific layer of in_channel to query. Currently only relevant for DiffuseTexture, ignored otherwise. Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor or RGBColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. Param out_texture_name: If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. Param out_value: If out_type is MaterialIndex, this value contains the index. If out_type is DiffuseChannelAlpha, this value contains the alpha value. If out_type is GlossValue, this value contains the gloss value. Return: true if the setting is valid, false otherwise.
-
bool
ShowFaceMaterial(out HPS.Material.Type out_type, out HPS.MaterialKit out_kit, out float out_value) Shows the material mapping for all channels of this geometry type. The out_type parameter indicates which of the other arguments is valid.
Param out_type: Indicates the type of material. Param out_kit: If out_type is FullMaterial, this value contains the material. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowFrontFaceChannel(HPS.Material.Channel in_channel, out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out string out_texture_name, out float out_value) 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.
Param in_channel: The channel to query. Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor or RGBColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. Param out_texture_name: If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. Param out_value: If out_type is MaterialIndex, this value contains the index. If out_type is DiffuseChannelAlpha, this value contains the alpha value. If out_type is GlossValue, this value contains the gloss value. Return: true if the setting is valid, false otherwise.
-
bool
ShowFrontFaceChannel(HPS.Material.Channel in_channel, ulong in_layer, out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out string out_texture_name, out float out_value) 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.
Param in_channel: The channel to query. Param in_layer: The specific layer of in_channel to query. Currently only relevant for DiffuseTexture, ignored otherwise. Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor or RGBColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. Param out_texture_name: If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. Param out_value: If out_type is MaterialIndex, this value contains the index. If out_type is DiffuseChannelAlpha, this value contains the alpha value. If out_type is GlossValue, this value contains the gloss value. Return: true if the setting is valid, false otherwise.
-
bool
ShowFrontFaceMaterial(out HPS.Material.Type out_type, out HPS.MaterialKit out_kit, out float out_value) Shows the material mapping for all channels of this geometry type. The out_type parameter indicates which of the other arguments is valid.
Param out_type: Indicates the type of material. Param out_kit: If out_type is FullMaterial, this value contains the material. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowLightColor(out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out float out_value) Shows the material mapping for this geometry type. The out_type parameter indicates which of the other arguments is valid.
Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor, this value contains the color. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowLineAlpha(out float out_alpha) Shows the alpha setting for lines.
Param out_alpha: The alpha value for lines. Return: true if the setting is valid, false otherwise.
-
bool
ShowLineColor(out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out float out_value) Shows the material mapping for this geometry type. The out_type parameter indicates which of the other arguments is valid.
Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor, this value contains the color. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowMarkerColor(out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out float out_value) Shows the material mapping for this geometry type. The out_type parameter indicates which of the other arguments is valid.
Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor, this value contains the color. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowTextColor(out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out float out_value) Shows the material mapping for this geometry type. The out_type parameter indicates which of the other arguments is valid.
Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor, this value contains the color. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowVertexChannel(HPS.Material.Channel in_channel, out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out string out_texture_name, out float out_value) 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.
Param in_channel: The channel to query. Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. Param out_texture_name: If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowVertexChannel(HPS.Material.Channel in_channel, ulong in_layer, out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out string out_texture_name, out float out_value) 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.
Param in_channel: The channel to query. Param in_layer: The specific layer of in_channel to query. Currently only relevant for DiffuseTexture, ignored otherwise. Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. Param out_texture_name: If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowVertexMaterial(out HPS.Material.Type out_type, out HPS.MaterialKit out_kit, out float out_value) Shows the material mapping for all channels of this geometry type. The out_type parameter indicates which of the other arguments is valid.
Param out_type: Indicates the type of material. Param out_kit: If out_type is FullMaterial, this value contains the material. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowWindowColor(out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out float out_value) Shows the material mapping for this geometry type. The out_type parameter indicates which of the other arguments is valid.
Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor, this value contains the color. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
bool
ShowWindowContrastColor(out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out float out_value) Shows the material mapping for this geometry type. The out_type parameter indicates which of the other arguments is valid.
Param out_type: Indicates the type of material. Param out_rgba_color: If out_type is RGBAColor, this value contains the color. Param out_value: If out_type is MaterialIndex, this value contains the index. Return: true if the setting is valid, false otherwise.
-
HPS.MaterialMappingControl
UnsetAmbientLightColor() Removes the material mapping for both ambient light up and ambient light down. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetAmbientLightDownColor() Removes the material mapping for this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetAmbientLightUpColor() Removes the material mapping for this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetBackFaceChannel(HPS.Material.Channel in_channel) Removes the material mapping for one channel of this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetBackFaceChannel(HPS.Material.Channel in_channel, ulong in_layer) Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetBackFaceMaterial() Removes the material mapping for all channels of this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetCutEdgeColor() Removes the material mapping for this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetCutFaceChannel(HPS.Material.Channel in_channel) Removes the material mapping for one channel of this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetCutFaceChannel(HPS.Material.Channel in_channel, ulong in_layer) Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetCutFaceMaterial() Removes the material mapping for all channels of this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetCutGeometryColor() Removes the material mapping for both cut edges and cut faces. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetEdgeChannel(HPS.Material.Channel in_channel) Removes the material mapping for one channel of this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetEdgeChannel(HPS.Material.Channel in_channel, ulong in_layer) Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetEdgeMaterial() Removes the material mapping for all channels of this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetEverything() Removes all settings from this object. If the control is attached to a WindowKey this function restores the default settings of this control as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetFaceChannel(HPS.Material.Channel in_channel) Removes the material mapping for one channel of this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetFaceChannel(HPS.Material.Channel in_channel, ulong in_layer) Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetFaceMaterial() Removes the material mapping for all channels of this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetFrontFaceChannel(HPS.Material.Channel in_channel) Removes the material mapping for one channel of this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetFrontFaceChannel(HPS.Material.Channel in_channel, ulong in_layer) Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetFrontFaceMaterial() Removes the material mapping for all channels of this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetLightColor() Removes the material mapping for this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetLineAlpha() Removes the line alpha setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetLineColor() Removes the material mapping for this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault(). Note that this function also unsets alpha values specified for lines through SetLineAlpha on this control.
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetMarkerColor() Removes the material mapping for this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetTextColor() Removes the material mapping for this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetVertexChannel(HPS.Material.Channel in_channel) Removes the material mapping for one channel of this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetVertexChannel(HPS.Material.Channel in_channel, ulong in_layer) Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetVertexMaterial() Removes the material mapping for all channels of this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetWindowColor() Removes the material mapping for this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
HPS.MaterialMappingControl
UnsetWindowContrastColor() Removes the material mapping for this geometry type. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit.GetDefault().
Return: A reference to this object.
-
override void