Class M_Material3D
Version added: before 9.5
The M_Material3D class represents the material properties for 3D mesh objects. For now, these properties are extremely basic.
Methods of M_Material3D:
Name | Returns | Description | Ver |
GetOpacityPath GetOpacityPath(outAccess) | Moho Class Object | Added in version 9.5 | 9.5 |
GetTexturePath GetTexturePath(outAccess) | Moho Class Object | Added in version 9.5 | 9.5 |
SetOpacityPath SetOpacityPath(path, copyFromAccess) | void | Added in version 9.5 | 9.5 |
SetTexturePath SetTexturePath(path, copyFromAccess) | void | Added in version 9.5 | 9.5 |
Properties of M_Material3D:
Name | Type | Description | Ver |
color | rgb_color | The color of the material. | < 9.5 |
drawEdges | bool | < 9.5 | |
edgeColor | rgb_color | < 9.5 | |
edgeWidth | real | < 9.5 | |
name | String | < 9.5 | |
opacityPath | < 9.5 | ||
selected | bool | < 9.5 | |
texturePath | < 9.5 |