VRay SDK for C#
Loading...
Searching...
No Matches
VRay.LightUtils Class Reference

A group of utility methods related to variuos light source plugins. More...

Classes

class  LuminaireFieldReadPreviewData
 API for gathering all related data necessary to create a preview of a Luminaire field. Used by ReadLuminaireFieldPreviewData() More...
 

Static Public Member Functions

static Proxy.VerticesAndIndices ReadIESPreviewData (Plugin lightPlugin)
 Builds a 3D representation mesh corresponding to the given IES profile and returns the preview data. More...
 
static Proxy.VerticesAndIndices ReadIESPreviewData (string filename)
 Builds a 3D representation mesh corresponding to the given IES profile and returns the preview data. More...
 
static LuminaireFieldReadPreviewData ReadLuminaireFieldPreviewData (Plugin luminairePlugin)
 Returns an object which can be queried for the various data used for a light luminaire field preview. More...
 
static LuminaireFieldReadPreviewData ReadLuminaireFieldPreviewData (string filename)
 Returns an object which can be queried for the various data used for a light luminaire field preview. More...
 

Detailed Description

A group of utility methods related to variuos light source plugins.

Member Function Documentation

◆ ReadIESPreviewData() [1/2]

static Proxy.VerticesAndIndices VRay.LightUtils.ReadIESPreviewData ( Plugin  lightPlugin)
static

Builds a 3D representation mesh corresponding to the given IES profile and returns the preview data.

Parameters
lightPluginA LightIES plugin instance.
Returns
Vertices and indices lists. Set to null on failure so don't forget to check them.

◆ ReadIESPreviewData() [2/2]

static Proxy.VerticesAndIndices VRay.LightUtils.ReadIESPreviewData ( string  filename)
static

Builds a 3D representation mesh corresponding to the given IES profile and returns the preview data.

Parameters
filenameIES file name (.ies)
Returns
Vertices and indices lists. Set to null on failure so don't forget to check them.

◆ ReadLuminaireFieldPreviewData() [1/2]

static LuminaireFieldReadPreviewData VRay.LightUtils.ReadLuminaireFieldPreviewData ( Plugin  luminairePlugin)
static

Returns an object which can be queried for the various data used for a light luminaire field preview.

Parameters
luminairePluginA LightLuminaire plugin instance.
Returns
An object for gathering all related data necessary to create a preview of a Luminaire field.

◆ ReadLuminaireFieldPreviewData() [2/2]

static LuminaireFieldReadPreviewData VRay.LightUtils.ReadLuminaireFieldPreviewData ( string  filename)
static

Returns an object which can be queried for the various data used for a light luminaire field preview.

Parameters
filenameA Luminaire cache file name (.vlw|.vlg|.vlsh).
Returns
An object for gathering all related data necessary to create a preview of a Luminaire field.

The documentation for this class was generated from the following file: