Page History
...
- Basic types:
int,
bool,
float,
Color
(3float
RGB),AColor
(4float
ARGB),Vector
(3float
),string
(UTF-8),Matrix
(3Vector
s),Transform
(aMatrix
and aVector
for translation). - Objects: references to other plugin instances.
- Typed lists: The typed lists in App SDK are
IntList
,FloatList
,ColorList
,VectorList
,TransformList
andVectorList
.PluginList
- Generic heterogeneous lists: The In C++, the App SDK uses a generic type class called
Value
for items in a generic list. In C#, Python and Node.js, native language types are used (lists or arrays). Note that generic lists can be nested. - Output parameters
: These are additional values generated by a given plugin which may be used as input by others. For example theTexAColorOp
plugin (described in section 5.2) can be referenced directly as a texture, resulting in its default color texture output, but you can also refer to any of its other outputs, likesum, difference, maximum
etc. for different results (Note: in some cases connecting an output parameter to an input parameter may not work directly, so you'd have to make the connection through a wrapper plugin likeTexAColor
orTexFloat
).
In AppSDK output parameters are represented by thePluginRef
type which combines a plugin reference and an output name.
Parameter polymorphism is an important feature of V-Ray. Texture parameters accept simple (basic) values, so instead of creating an additional texture plugin which generates a single color you just set a Color value to the texture slot. Same goes for float textures and single float values etc. You can also set the value of a texture parameter to an output parameter as described above.
...