Navigation: Scripting Reference Manual > Functions & Subroutines > InitPhongScatter

 

InitPhongScatter

 

Contact Us: fredsupport@photonengr.com

 

Description

Initializes a T_PHONGSCATTER structure with its default values.

 

Syntax

InitPhongScatter scat

 

Parameters

scat As T_PHONGSCATTER

The T_PHONGSCATTER structure to be initialized.

 

Remarks

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

 

Data Type

Default

name

Phong Scatter Model

description

empty

ApplyRefl

True

ApplyTrans

False

HaltIncident

True

n

16

d

0.1

 

See Also

T_PHONGSCATTER

AddPhongScatter

GetPhongScatter

SetPhongScatter

Examples

Scatter

 

 

 

 

 

Copyright © Photon Engineering, LLC