Navigation: Scripting Reference Manual > Functions & Subroutines > GetModelMaterial

 

GetModelMaterial

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves a specified glass Model Material in the associated FRED document.

 

Syntax

GetModelMaterial id, material

 

Parameters

id As Long

Identifier of the Model Material.

 

material As T_MODELMATERIAL

Structure containing data for the Model Material.

 

Remarks

This subroutine retrieves the data of the glass Model Material referred to by id.  If there is a problem, the subroutine posts an error and returns without changing material.

 

See Also

T_MODELMATERIAL

AddModelMaterial

SetModelMaterial

InitModelMaterial

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC