Navigation: Scripting Reference Manual > Functions & Subroutines > SetSourceDirApodLambertian

 

SetSourceDirApodLambertian

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the power data for a source with a "Lambertian in a given direction" power direction apodization type.

 

Syntax

SetSourceDirApodLambertian n, dirX, dirY, dirZ

 

Parameters

n As Long

Node number of the source.

 

dirX As Double

The new X component of the direction vector.

 

dirY As Double

The new Y component of the direction vector.

 

dirZ As Double

The new Z component of the direction vector.

 

Remarks

This subroutine sets the power data for a source with a "Lambertian in a given direction" power direction apodization type.  The direction vector (x,y,z) specifies the reference Lambertian direction is typically (0,0,1). If there is a problem the subroutine returns without modifying the source or setting an error.

 

See Also

GetSourceDirApodLambertian

IsSourceDirApodLambertian

Examples

Sources

 

 

 

 

 

Copyright © Photon Engineering, LLC