pluginDescription = renderer.classes.RenderView.getDescription()
# Description of a render view (camera) -- position, field of view, etc. [gpuSupport=(partial)]
pluginMeta = renderer.classes.RenderView.getMeta()
for propName, propMeta in pluginMeta.items():
print("propName = " + repr(propName))
# 'transform', 'fov', ...
propertyDescription = propMeta["description"]
# 'Camera transform - position and rotation', 'Horizontal field of view', ...
propertyType = propMeta["type"]
# 'Transform', 'float', ...
defaultVal = propMeta["defaultValue"]
# 'Transform(Matrix(Vector(1, 0, 0), Vector(0, 1, 0), Vector(0, 0, 1)), Vector(0, 0, 0))', '0.785398', ...
gpuParamSupport = propMeta["GPUSupport"]
# 'Full', 'Full', ... |
|
PluginMeta pluginMeta = renderer.getPluginMeta("RenderView");
string pluginDescription = pluginMeta.getDescription();
// Description of a render view (camera) -- position, field of view, etc. [gpuSupport=(partial)]
const vector<string> propertyNames = pluginMeta.getPropertyNames();
// ["transform", "fov", ...]
for (const string& propName : propertyNames) {
PropertyMeta propertyMeta = pluginMeta.getPropertyMeta(propName);
string propertyDescription = propertyMeta.getDescription();
// "Camera transform - position and rotation", "Horizontal field of view", ...
string propertyType = propertyMeta.getTypeAsString();
// "Transform", "float", ...
Value defaultVal = propertyMeta.getDefaultValue();
// "Transform(Matrix(Vector(1, 0, 0), Vector(0, 1, 0), Vector(0, 0, 1)), Vector(0, 0, 0))", "0.785398", ...
GPUParamSupport gpuParamSupport = propertyMeta.getGPUSupport();
// GPUParamSupport::GPUParamSupport_Full, GPUParamSupport::GPUParamSupport_Full, ...
} |
|
PluginMeta pluginMeta = renderer.GetPluginMeta("RenderView");
string pluginDescription = pluginMeta.Description;
// Description of a render view (camera) -- position, field of view, etc. [gpuSupport=(partial)]
string[] propertyNames = pluginMeta.PropertyNames;
// ["transform", "fov", ...]
foreach (var propName in propertyNames)
{
PropertyMeta propertyMeta = pluginMeta.GetPropertyMeta(propName);
string propertyDescription = propertyMeta.Description;
// "Camera transform - position and rotation", "Horizontal field of view", ...
string propertyType = propertyMeta.TypeString;
// "Transform", "float", ...
object defaultVal = propertyMeta.DefaultValue;
// "Transform(Matrix(Vector(1, 0, 0), Vector(0, 1, 0), Vector(0, 0, 1)), Vector(0, 0, 0))", "0.785398", ...
GPUParamSupport gpuParamSupport = propertyMeta.GPUSupport;
// GPUParamSupport.GPUParamSupport_Full, GPUParamSupport.GPUParamSupport_Full, ...
} |
|
var pluginDescription = renderer.classes.RenderView.getDescription()
// Description of a render view (camera) -- position, field of view, etc. [gpuSupport=(partial)]
var pluginMeta = renderer.classes.RenderView.getMeta()
for (var propName in pluginMeta) {
var propMeta = pluginMeta[propName]
// 'transform', 'fov', ...
propertyDescription = propMeta['description']
// 'Camera transform - position and rotation', 'Horizontal field of view', ...
propertyType = propMeta['type']
// 'Transform', 'float', ...
defaultVal = propMeta['defaultValue']
// 'Transform(Matrix(Vector(1, 0, 0), Vector(0, 1, 0), Vector(0, 0, 1)), Vector(0, 0, 0))', '0.785398', ...
gpuParamSupport = propMeta['GPUSupport']
// 'Full', 'Full', ...
} |
|
|