VPPhotonDatabase FromFileInResources Method Virtual Photonics - VTS Library
Virtual Photonics
Static helper method to simplify reading from file

Namespace: Vts.MonteCarlo.PhotonData
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public static PhotonDatabase FromFileInResources(
	string fileName,
	string projectName
)

Parameters

fileName
Type: OnlineSystem String
The base filename for the database (no ".xml")
projectName
Type: OnlineSystem String
The project name containing the resource

Return Value

Type: PhotonDatabase
A new instance of PhotonDatabase
See Also