VRay SDK for C#
|
A group of utility methods related to variuos geometry source plugins. More...
Classes | |
class | GaussianReadData |
All related data necessary to create a preview of a single Gaussian model. Used by GeomUtils.ReadGaussianData() More... | |
struct | ImportScatterPresetCallbackData |
class | ScatterReadParams |
The necessary parameters for reading the data in the preset config file (.mbc) More... | |
class | ScatterReadParamsInternal |
class | ScatterReadParamsSerializer |
struct | TransformsAndTopo |
Contains the result of ReadScatterData method. More... | |
Public Member Functions | |
delegate Plugin | OnImportScatterPreset (VRayRenderer renderer, string assetId, Vector importPosition) |
A function to be called during reading the preset config, responsible for creating the model plugins corresponding to the imported assets More... | |
Static Public Member Functions | |
static GaussianReadData | ReadGaussianData (Plugin gaussianPlugin) |
Reads the data contained in the property GeomGaussians.file of the given plugin More... | |
static GaussianReadData | ReadGaussianData (string filename) |
Reads the data contained in the given file More... | |
static TransformsAndTopo | ReadScatterData (Plugin scatterPlugin) |
Returns the generated scatter transforms and source topology data, corresponding to the plugin parameter config. More... | |
static bool | ReadScatterPreset (ScatterReadParams readParams, OnImportScatterPreset userCallback=null) |
Fills the parameters in the given scatterPlugin with the data provided from the preset config file (.mbc) The user callback could be used to import Cosmos assets and other relevant plugins to the scene More... | |
Static Public Attributes | |
const long | SCATTER_READ_PARAMS_STRUCT_VERSION = 0 |
A group of utility methods related to variuos geometry source plugins.
delegate Plugin VRay.GeomUtils.OnImportScatterPreset | ( | VRayRenderer | renderer, |
string | assetId, | ||
Vector | importPosition | ||
) |
A function to be called during reading the preset config, responsible for creating the model plugins corresponding to the imported assets
renderer | The renderer which produced the event |
assetId | Cosmos assetId to be imported (string) |
importPosition | The position where the asset should be imported to the scene |
|
static |
Reads the data contained in the property GeomGaussians.file of the given plugin
gaussianPlugin | A GeomGaussians plugin instance (the scatter data generation is triggered depending on the plugin parameter config). |
|
static |
Reads the data contained in the given file
filename | A Gaussian file name (.ply) |
|
static |
Returns the generated scatter transforms and source topology data, corresponding to the plugin parameter config.
scatterPlugin | A GeomScatter plugin instance (the scatter data generation is triggered depending on the plugin parameter config). |
|
static |
Fills the parameters in the given scatterPlugin with the data provided from the preset config file (.mbc) The user callback could be used to import Cosmos assets and other relevant plugins to the scene
readParams | A struct to read the file name and parameters from. |
userCallback | A function to be called during reading the preset config, responsible for creating the plugins corresponding to the imported assets |