Material |
The MaterialProperty type exposes the following members.
| Name | Description | |
|---|---|---|
| ByteCount | Gets the raw byte data count. | |
| FullyQualifiedName | Gets the property's fully qualified name. Format: "{base name},{texture type semantic},{texture index}". E.g. "$clr.diffuse,0,0". This is the key that is used to index the property in the material property map. | |
| HasRawData | Checks if the property has data. | |
| Name | Gets or sets the property key name. E.g. $tex.file. This corresponds to the "AiMatKeys" base name constants. | |
| PropertyType | Gets or sets the type of property. | |
| RawData | Gets the raw byte data. To modify/read this data, see the Get/SetXXXValue methods. | |
| TextureIndex | Gets or sets the texture index, for non-texture properties this is always zero. | |
| TextureType | Gets or sets the texture type semantic, for non-texture properties this is always None. |