Navigation: Scripting Reference Manual > Functions & Subroutines > SetPhongScatter

 

SetPhongScatter

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the data of a specific Phong scatter model in the associated FRED document.

 

Syntax

SetPhongScatter id, scatter

 

Parameters

id As Long

Identifier of the Phong scatter model.

 

scatter As T_PHONGSCATTER

Structure containing the new data for the Phong scatter model.

 

Remarks

This subroutine sets the data of a specific Phong scatter model in the associated FRED document.  If there is a problem, the subroutine posts an error and returns without modifying the Phong scatter model.

 

See Also

T_PHONGSCATTER

AddPhongScatter

InitPhongScatter

GetPhongScatter

Examples

Scatter

 

 

 

 

 

Copyright © Photon Engineering, LLC