VPCollisionInfoDatabase 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 CollisionInfoDatabase 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: CollisionInfoDatabase
A new instance of CollisionInfoDatabase
See Also