Navigation: Scripting Reference Manual > Data Structures > T_SOURCEDIRAPODSINCOS

 

T_SOURCEDIRAPODSINCOS

 

Contact Us: fredsupport@photonengr.com

 

Description

Data structure needed to specify a direction apodization of type cosn or sinn in a given direction for a source.

 

Definition

Type T_SOURCEDIRAPODSINCOS

exponent As Double
dirX As Double
dirY As Double
dirZ As Double
isCosine As Boolean

End Type

 

Members

exponent

Specifies the value of the function exponent. This value can be positive or negative and does not need to be an integer value.

 

dirX

The X component of the direction vector.

 

dirY

The Y component of the direction vector.

 

dirZ

The Z component of the direction vector.

 

isCosine

When True, creates a cosine apodization. When False, creates a sine apodization.

 

Remarks

The angle for the cos or sin function is the angle between the ray direction and the given direction (dirx, dirY, dirZ).

 

Used as Parameter in

GetSourceDirApodSinCos

SetSourceDirApodSinCos

Examples

Sources

 

 

 

 

 

Copyright © Photon Engineering, LLC