A group of utility methods related to variuos light source plugins.
More...
#include <vraysdk.hpp>
A group of utility methods related to variuos light source plugins.
◆ readIESPreviewData() [1/2]
static bool VRay::LightUtils::readIESPreviewData |
( |
const Plugin & |
lightPlugin, |
|
|
VectorList & |
vertices, |
|
|
IntList & |
indices |
|
) |
| |
|
static |
- Parameters
-
lightPlugin | A LightIES plugin instance |
vertices | Output vertex preview data. |
indices | Output face index data. Each three consecutive elements make up one triangle. |
- Returns
- false if an error ocurred. Check getLastError() for additional info.
◆ readIESPreviewData() [2/2]
static bool VRay::LightUtils::readIESPreviewData |
( |
const std::string & |
fileName, |
|
|
VectorList & |
vertices, |
|
|
IntList & |
indices |
|
) |
| |
|
static |
- Parameters
-
fileName | IES file name (.ies) |
vertices | Output vertex preview data. |
indices | Output face index data. Each three consecutive elements make up one triangle. |
- Returns
- false if an error ocurred. Check getLastError() for additional info.
◆ readLuminaireFieldPreviewData() [1/2]
- Parameters
-
luminairePlugin | A LightLuminaire plugin instance |
readData | A structure handle which provides an API for getting the preview data relating to light luminaire field. |
- Returns
- false if an error ocurred. Check getLastError() for additional info.
◆ readLuminaireFieldPreviewData() [2/2]
- Parameters
-
fileName | Luminaire cache file name (.vlw|.vlg|.vlsh) |
readData | A structure handle which provides an API for getting the preview data relating to light luminaire field. |
- Returns
- false if an error ocurred. Check getLastError() for additional info.
The documentation for this class was generated from the following file:
- /home/jenkins/ci/cgrepo/appsdk/VRay_SDK_CPP/include/vraysdk.hpp