Click or drag to resize

RenderContentSetChildSlotParameter Method

Extra requirements are a way of specifying extra functionality on parameters in the automatic UI. Implement this function to support values being set from automatic UI sections or the texture summary. See IAutoUIExtraRequirements.h in the C++ RDK for string definitions for the parameter names.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public virtual bool SetChildSlotParameter(
	string parameterName,
	string childSlotName,
	Object value,
	RenderContentExtraRequirementsSetContexts sc
)

Parameters

parameterName
Type: SystemString
The parameter or field internal name to which this query applies
childSlotName
Type: SystemString
The extra requirement parameter, as listed in IAutoUIExtraRequirements.h in the C++ RDK
value
Type: SystemObject
The value to set this extra requirement parameter. You will typically use System.Convert to convert the value to the type you need
sc
Type: Rhino.RenderRenderContentExtraRequirementsSetContexts
The context of this operation.

Return Value

Type: Boolean
Null variant if not supported. Call the base class if you do not support the extra requirement paramter.
Version Information

Rhino for Windows

Supported in: 6.1 BETA
See Also