REFERENCE MANUAL
The MaterialMappingControl class is a smart pointer that is tied to a database object. More...
Public Member Functions | |
override void | Dispose () |
MaterialMappingControl (HPS.SegmentKey in_seg) | |
Initializes a control tied to the segment in_seg. More... | |
MaterialMappingControl (HPS.MaterialMappingControl in_that) | |
Initializes a control tied to the same object as in_that. More... | |
override HPS.Type | ObjectType () |
This function returns the type the object, as declared. More... | |
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. More... | |
HPS.MaterialMappingControl | SetAmbientLightDownColor (HPS.RGBAColor in_rgba_color) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type. More... | |
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. More... | |
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. More... | |
HPS.MaterialMappingControl | SetAmbientLightUpColor (HPS.RGBAColor in_rgba_color) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
HPS.MaterialMappingControl | SetBackFaceGloss (float in_value) |
Sets the gloss <ndash> general "shininess" <ndash> of this geometry type. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
HPS.MaterialMappingControl | SetCutEdgeColor (HPS.RGBAColor in_rgba_color) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
HPS.MaterialMappingControl | SetCutFaceGloss (float in_value) |
Sets the gloss <ndash> general "shininess" <ndash> of this geometry type. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
HPS.MaterialMappingControl | SetEdgeGloss (float in_value) |
Sets the gloss <ndash> general "shininess" <ndash> of this geometry type. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
HPS.MaterialMappingControl | SetFaceGloss (float in_value) |
Sets the gloss <ndash> general "shininess" <ndash> of this geometry type. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
HPS.MaterialMappingControl | SetFaceShader (string in_shader_name) |
Applies a shader by name, replacing any previous mapping to the DiffuseTexture channel on this geometry type. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
HPS.MaterialMappingControl | SetFrontFaceGloss (float in_value) |
Sets the gloss <ndash> general "shininess" <ndash> of this geometry type. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
HPS.MaterialMappingControl | SetLightColor (HPS.RGBAColor in_rgba_color) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type. More... | |
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. More... | |
HPS.MaterialMappingControl | SetLineColor (HPS.RGBAColor in_rgba_color) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type. More... | |
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. More... | |
HPS.MaterialMappingControl | SetMarkerColor (HPS.RGBAColor in_rgba_color) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type. More... | |
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. More... | |
HPS.MaterialMappingControl | SetTextColor (HPS.RGBAColor in_rgba_color) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
HPS.MaterialMappingControl | SetVertexGloss (float in_value) |
Sets the gloss <ndash> general "shininess" <ndash> of this geometry type. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
HPS.MaterialMappingControl | SetVertexShader (string in_shader_name) |
Applies a shader by name, replacing any previous mapping to the DiffuseTexture channel on this geometry type. More... | |
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. More... | |
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. More... | |
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. More... | |
HPS.MaterialMappingControl | SetWindowColor (HPS.RGBAColor in_rgba_color) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type. More... | |
HPS.MaterialMappingControl | SetWindowContrastColor (HPS.RGBAColor in_rgba_color) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
HPS.MaterialMappingControl | UnsetAmbientLightColor () |
Removes the material mapping for both ambient light up and ambient light down. More... | |
HPS.MaterialMappingControl | UnsetAmbientLightDownColor () |
Removes the material mapping for this geometry type. More... | |
HPS.MaterialMappingControl | UnsetAmbientLightUpColor () |
Removes the material mapping for this geometry type. More... | |
HPS.MaterialMappingControl | UnsetBackFaceChannel (HPS.Material.Channel in_channel) |
Removes the material mapping for one channel of this geometry type. More... | |
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. More... | |
HPS.MaterialMappingControl | UnsetBackFaceMaterial () |
Removes the material mapping for all channels of this geometry type. More... | |
HPS.MaterialMappingControl | UnsetCutEdgeColor () |
Removes the material mapping for this geometry type. More... | |
HPS.MaterialMappingControl | UnsetCutFaceChannel (HPS.Material.Channel in_channel) |
Removes the material mapping for one channel of this geometry type. More... | |
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. More... | |
HPS.MaterialMappingControl | UnsetCutFaceMaterial () |
Removes the material mapping for all channels of this geometry type. More... | |
HPS.MaterialMappingControl | UnsetCutGeometryColor () |
Removes the material mapping for both cut edges and cut faces. More... | |
HPS.MaterialMappingControl | UnsetEdgeChannel (HPS.Material.Channel in_channel) |
Removes the material mapping for one channel of this geometry type. More... | |
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. More... | |
HPS.MaterialMappingControl | UnsetEdgeMaterial () |
Removes the material mapping for all channels of this geometry type. More... | |
HPS.MaterialMappingControl | UnsetEverything () |
Removes all settings from this object. More... | |
HPS.MaterialMappingControl | UnsetFaceChannel (HPS.Material.Channel in_channel) |
Removes the material mapping for one channel of this geometry type. More... | |
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. More... | |
HPS.MaterialMappingControl | UnsetFaceMaterial () |
Removes the material mapping for all channels of this geometry type. More... | |
HPS.MaterialMappingControl | UnsetFrontFaceChannel (HPS.Material.Channel in_channel) |
Removes the material mapping for one channel of this geometry type. More... | |
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. More... | |
HPS.MaterialMappingControl | UnsetFrontFaceMaterial () |
Removes the material mapping for all channels of this geometry type. More... | |
HPS.MaterialMappingControl | UnsetLightColor () |
Removes the material mapping for this geometry type. More... | |
HPS.MaterialMappingControl | UnsetLineColor () |
Removes the material mapping for this geometry type. More... | |
HPS.MaterialMappingControl | UnsetMarkerColor () |
Removes the material mapping for this geometry type. More... | |
HPS.MaterialMappingControl | UnsetTextColor () |
Removes the material mapping for this geometry type. More... | |
HPS.MaterialMappingControl | UnsetVertexChannel (HPS.Material.Channel in_channel) |
Removes the material mapping for one channel of this geometry type. More... | |
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. More... | |
HPS.MaterialMappingControl | UnsetVertexMaterial () |
Removes the material mapping for all channels of this geometry type. More... | |
HPS.MaterialMappingControl | UnsetWindowColor () |
Removes the material mapping for this geometry type. More... | |
HPS.MaterialMappingControl | UnsetWindowContrastColor () |
Removes the material mapping for this geometry type. More... | |
![]() | |
Control (HPS.Control in_that) | |
![]() | |
virtual bool | Empty () |
Indicates whether this object has any values set on it. More... | |
IntPtr | GetClassID () |
IntPtr | GetInstanceID () |
Returns an identifier that can be used to identify which instance of a class an object is. More... | |
bool | HasType (HPS.Type in_mask) |
This function indicates whether this Object has the given Type mask. More... | |
Object (HPS.Object in_that) | |
The move constructor creates an Object by transferring the underlying impl of the rvalue reference to this Object thereby avoiding a copy and allocation. More... | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
HPS.Type | Type () |
This function returns the true type of the underlying object. More... | |
Protected Member Functions | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Additional Inherited Members | |
![]() | |
static IntPtr | ClassID< T > () |
![]() | |
bool | cMemOwn |
HandleRef | cptr |
HandleRef | scptr |
The 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. Lights color can also be set using this control. Materials can be applied at the segment, entity, or subentity level. This table lists default values for the various segment attributes accessible from MaterialMappingControl.
HPS.MaterialMappingControl.MaterialMappingControl | ( | HPS.SegmentKey | in_seg | ) |
Initializes a control tied to the segment in_seg.
HPS.MaterialMappingControl.MaterialMappingControl | ( | HPS.MaterialMappingControl | in_that | ) |
Initializes a control tied to the same object as in_that.
|
virtual |
This function returns the type the object, as declared.
This does not necessarily give the true type of the underlying object.
Reimplemented from HPS.Object.
HPS.MaterialMappingControl 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.
in_rgba_color | An RGBA color that will be applied to those geometry types. |
HPS.MaterialMappingControl HPS.MaterialMappingControl.SetAmbientLightDownColor | ( | HPS.RGBAColor | 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. |
HPS.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. |
HPS.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. |
HPS.MaterialMappingControl HPS.MaterialMappingControl.SetAmbientLightUpColor | ( | HPS.RGBAColor | 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. |
HPS.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. |
HPS.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
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl HPS.MaterialMappingControl.SetBackFaceGloss | ( | float | in_value | ) |
Sets the gloss <ndash> general "shininess" <ndash> 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. |
HPS.MaterialMappingControl 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.
in_material | A material kit to be applied to all channels on this geometry type. |
HPS.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. |
HPS.MaterialMappingControl 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.
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. |
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. |
HPS.MaterialMappingControl 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.
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. |
in_channel | The texture channel to apply the texture to. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
HPS.MaterialMappingControl HPS.MaterialMappingControl.SetCutEdgeColor | ( | HPS.RGBAColor | 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. |
HPS.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. |
HPS.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
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl HPS.MaterialMappingControl.SetCutFaceGloss | ( | float | in_value | ) |
Sets the gloss <ndash> general "shininess" <ndash> 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. |
HPS.MaterialMappingControl 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.
in_material | A material kit to be applied to all channels on this geometry type. |
HPS.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. |
HPS.MaterialMappingControl 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.
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. |
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. |
HPS.MaterialMappingControl 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.
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. |
in_channel | The texture channel to apply the texture to. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
HPS.MaterialMappingControl 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.
in_rgba_color | An RGBA color that will be applied to those geometry types. |
HPS.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.
HPS.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
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl HPS.MaterialMappingControl.SetEdgeGloss | ( | float | in_value | ) |
Sets the gloss <ndash> general "shininess" <ndash> 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. |
HPS.MaterialMappingControl 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.
in_material | A material kit to be applied to all channels on this geometry type. |
HPS.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. |
HPS.MaterialMappingControl 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.
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. |
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. |
HPS.MaterialMappingControl 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.
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. |
in_channel | The texture channel to apply the texture to. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
HPS.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
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl HPS.MaterialMappingControl.SetFaceGloss | ( | float | in_value | ) |
Sets the gloss <ndash> general "shininess" <ndash> 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. |
HPS.MaterialMappingControl 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.
in_material | A material kit to be applied to all channels on this geometry type. |
HPS.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. |
HPS.MaterialMappingControl 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.
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. |
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. |
HPS.MaterialMappingControl 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.
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. |
in_channel | The texture channel to apply the texture to. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl HPS.MaterialMappingControl.SetFaceShader | ( | string | 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. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
HPS.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
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl HPS.MaterialMappingControl.SetFrontFaceGloss | ( | float | in_value | ) |
Sets the gloss <ndash> general "shininess" <ndash> 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. |
HPS.MaterialMappingControl 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.
in_material | A material kit to be applied to all channels on this geometry type. |
HPS.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. |
HPS.MaterialMappingControl 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.
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. |
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. |
HPS.MaterialMappingControl 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.
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. |
in_channel | The texture channel to apply the texture to. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
HPS.MaterialMappingControl HPS.MaterialMappingControl.SetLightColor | ( | HPS.RGBAColor | 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. |
HPS.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. |
HPS.MaterialMappingControl HPS.MaterialMappingControl.SetLineColor | ( | HPS.RGBAColor | 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. |
HPS.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. |
HPS.MaterialMappingControl HPS.MaterialMappingControl.SetMarkerColor | ( | HPS.RGBAColor | 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. |
HPS.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. |
HPS.MaterialMappingControl HPS.MaterialMappingControl.SetTextColor | ( | HPS.RGBAColor | 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. |
HPS.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. |
HPS.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
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl HPS.MaterialMappingControl.SetVertexGloss | ( | float | in_value | ) |
Sets the gloss <ndash> general "shininess" <ndash> 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. |
HPS.MaterialMappingControl 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.
in_material | A material kit to be applied to all channels on this geometry type. |
HPS.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. |
HPS.MaterialMappingControl 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.
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. |
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. |
HPS.MaterialMappingControl 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.
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. |
in_channel | The texture channel to apply the texture to. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl HPS.MaterialMappingControl.SetVertexShader | ( | string | 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. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
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. |
HPS.MaterialMappingControl 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.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
HPS.MaterialMappingControl HPS.MaterialMappingControl.SetWindowColor | ( | HPS.RGBAColor | 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. |
HPS.MaterialMappingControl HPS.MaterialMappingControl.SetWindowContrastColor | ( | HPS.RGBAColor | 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. |
HPS.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. |
HPS.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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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 | ( | 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.
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. |
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetAmbientLightColor | ( | ) |
Removes the material mapping for both ambient light up and ambient light down.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetAmbientLightDownColor | ( | ) |
Removes the material mapping for this geometry type.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetAmbientLightUpColor | ( | ) |
Removes the material mapping for this geometry type.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetBackFaceChannel | ( | HPS.Material.Channel | in_channel | ) |
Removes the material mapping for one channel of this geometry type.
HPS.MaterialMappingControl 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.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetBackFaceMaterial | ( | ) |
Removes the material mapping for all channels of this geometry type.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetCutEdgeColor | ( | ) |
Removes the material mapping for this geometry type.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetCutFaceChannel | ( | HPS.Material.Channel | in_channel | ) |
Removes the material mapping for one channel of this geometry type.
HPS.MaterialMappingControl 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.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetCutFaceMaterial | ( | ) |
Removes the material mapping for all channels of this geometry type.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetCutGeometryColor | ( | ) |
Removes the material mapping for both cut edges and cut faces.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetEdgeChannel | ( | HPS.Material.Channel | in_channel | ) |
Removes the material mapping for one channel of this geometry type.
HPS.MaterialMappingControl 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.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetEdgeMaterial | ( | ) |
Removes the material mapping for all channels of this geometry type.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetEverything | ( | ) |
Removes all settings from this object.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetFaceChannel | ( | HPS.Material.Channel | in_channel | ) |
Removes the material mapping for one channel of this geometry type.
HPS.MaterialMappingControl 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.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetFaceMaterial | ( | ) |
Removes the material mapping for all channels of this geometry type.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetFrontFaceChannel | ( | HPS.Material.Channel | in_channel | ) |
Removes the material mapping for one channel of this geometry type.
HPS.MaterialMappingControl 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.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetFrontFaceMaterial | ( | ) |
Removes the material mapping for all channels of this geometry type.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetLightColor | ( | ) |
Removes the material mapping for this geometry type.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetLineColor | ( | ) |
Removes the material mapping for this geometry type.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetMarkerColor | ( | ) |
Removes the material mapping for this geometry type.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetTextColor | ( | ) |
Removes the material mapping for this geometry type.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetVertexChannel | ( | HPS.Material.Channel | in_channel | ) |
Removes the material mapping for one channel of this geometry type.
HPS.MaterialMappingControl 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.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetVertexMaterial | ( | ) |
Removes the material mapping for all channels of this geometry type.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetWindowColor | ( | ) |
Removes the material mapping for this geometry type.
HPS.MaterialMappingControl HPS.MaterialMappingControl.UnsetWindowContrastColor | ( | ) |
Removes the material mapping for this geometry type.