The Material class is a concept class for material-related enum classes. More...

Classes | |
class | Color |
The MaterialColor Class More... | |
class | Texture |
The Material.Texture class is a concept class for texture-related enum classes. More... | |
Public Types | |
enum | Channel : uint { Channel.DiffuseColor = 0x00000001, Channel.DiffuseTexture = 0x00000002, Channel.Specular = 0x00000003, Channel.Emission = 0x00000004, Channel.Transmission = 0x00000005, Channel.Mirror = 0x00000006, Channel.Bump = 0x00000007, Channel.EnvironmentTexture = 0x00000008, Channel.EnvironmentCubeMap = 0x00000009, Channel.Gloss = 0x0000000A } |
Material Channel More... | |
enum | Type : uint { Type.None = 0x00000000, Type.FullMaterial = 0x00000001, Type.RGBColor = 0x00000002, Type.RGBAColor = 0x00000003, Type.MaterialIndex = 0x00000004, Type.TextureName = 0x00000005, Type.ModulatedTexture = 0x00000006, Type.CubeMapName = 0x00000007, Type.ModulatedCubeMap = 0x00000008, Type.GlossValue = 0x00000009, Type.DiffuseChannelAlpha = 0x0000000A } |
Enumerates the types of materials that can be set on various Visualize entities. More... | |
Public Member Functions | |
virtual void | Dispose () |
Material (HPS.Material in_that) | |
Protected Member Functions | |
virtual void | deleteCptr () |
Protected Attributes | |
bool | cMemOwn |
HandleRef | cptr |
Detailed Description
The Material class is a concept class for material-related enum classes.
Member Enumeration Documentation
enum HPS.Material.Channel : uint |
Material Channel
Enumerator | |
---|---|
DiffuseColor |
Material Channel. |
DiffuseTexture |
Material Channel. |
Specular |
Material Channel. |
Emission |
Material Channel. |
Transmission |
Material Channel. |
Mirror |
Material Channel. |
Bump |
Material Channel. |
EnvironmentTexture |
Material Channel. |
EnvironmentCubeMap |
Material Channel. |
Gloss |
Material Channel. |
enum HPS.Material.Type : uint |
Enumerates the types of materials that can be set on various Visualize entities.
Enumerator | |
---|---|
None |
No material was set. |
FullMaterial |
A full material was set. The MaterialKit is valid. |
RGBColor |
An RGB color was set. The RGBColor is valid. |
RGBAColor |
An RGBA color was set. The RGBAColor is valid. |
MaterialIndex |
A material index was set. The material index (float value) is valid. |
TextureName |
An unmodulated texture was set. The texture name is valid. |
ModulatedTexture |
A modulated texture was set. Both the RGBColor (or RGBAColor) and texture name are valid. |
CubeMapName |
An unmodulated cube map texture was set. The cube map texture name is valid. |
ModulatedCubeMap |
A modulated cube map was set. Both the RGBColor (or RGBAColor) and cube map texture name are valid. |
GlossValue |
A gloss value was set. The gloss (float value) is valid. |
DiffuseChannelAlpha |
An alpha value was set. The alpha (float value) is valid. |
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.Material.cs