Navigation: Scripting Reference Manual > Functions & Subroutines > SetModelMaterial

 

SetModelMaterial

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the parameters of a specified glass Model Material in the associated FRED document.

 

Syntax

SetModelMaterial id, material

 

Parameters

id As Long

Identifier for the material.

 

material As T_MODELMATERIAL

Structure containing the new data for the Model Material.

 

Remarks

This subroutine sets the parameters of a specified glass Model Material in the associated FRED document.  If there is a problem, the subroutine posts an error and returns without modifying the Model Material.

 

See Also

T_MODELMATERIAL

AddModelMaterial

InitModelMaterial

GetModelMaterial

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC