Material (Object)

Represents a Material object.

Properties


Property AnalysisMaterial() As (Read Only)
Returns the analysis material object from the current material.
Property RenderingMaterial() As (Read Only)
Returns the rendering material object from the current material.

Methods


Sub CopyRenderingDataFrom( iRenderingMaterial)
Copy rendering data from a material to the current material.
Func CreateAnalysisData( iLabel) As
Create a default analysis material on the current material.
Func CreateRenderingData() As
Create a default rendering material on the current material.
Func ExistAnalysisData() As
Returns true if a analysis material exists on the current material.
Func ExistRenderingData() As
Returns true if a rendering material exists on the current material.
Sub GetIcon( iPath)
Write the icon of a material to disc. The parameter is the path of the folder where the JPEG is going to be written Ex : E:\folder\
Sub PutIcon( iPath)
Read the icon of a material from JPEG file. The parameter is the path of the folder where the JPEG is going to be read Ex : E:\folder\