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:

Name Returns Description Version added
GetOpacityPath LM_Path Added in version 9.5 9.5
GetTexturePath LM_Path Added in version 9.5 9.5
SetOpacityPath void Added in version 9.5 9.5
SetTexturePath void Added in version 9.5 9.5

Properties:

Name Type Description Version added
color rgb_color The color of the material. before 9.5
drawEdges bool before 9.5
edgeColor rgb_color before 9.5
edgeWidth real before 9.5
name LM_String before 9.5
opacityPath LM_Path before 9.5
selected bool before 9.5
texturePath LM_Path before 9.5