Navigation: Scripting Reference Manual > Functions & Subroutines > InitModelMaterial

 

InitModelMaterial

 

Contact Us: fredsupport@photonengr.com

 

Description

Initializes a T_MODELMATERIAL structure with its default values.

 

Syntax

InitModelMaterial mat

 

Parameters

mat As T_MODELMATERIAL

The T_MODELMATERIAL structure to be initialized.

 

Remarks

This subroutine initializes a T_MODELMATERIAL structure. Defaults are shown in the table below:

 

Data Type

Default

name

Model Material

description

empty

Nd

1.5

Vd

64

 

See Also

T_MODELMATERIAL

AddModelMaterial

GetModelMaterial

SetModelMaterial

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC