
Classes | |
class | Color |
class | Texture |
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, Channel.Alpha = 0x0000000B } |
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 } |
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
◆ Channel
|
strong |
◆ Type
|
strong |
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