Click or drag to resize

RenderContentIsFactoryProductAcceptableAsChild Method (Guid, String, String)

Override this method to restrict the type of acceptable child content. The default implementation of this method returns true if the factory kind is 'texture'.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.11
Syntax
public virtual bool IsFactoryProductAcceptableAsChild(
	Guid kindId,
	string factoryKind,
	string childSlotName
)

Parameters

kindId
Type: SystemGuid

[Missing <param name="kindId"/> documentation for "M:Rhino.Render.RenderContent.IsFactoryProductAcceptableAsChild(System.Guid,System.String,System.String)"]

factoryKind
Type: SystemString

[Missing <param name="factoryKind"/> documentation for "M:Rhino.Render.RenderContent.IsFactoryProductAcceptableAsChild(System.Guid,System.String,System.String)"]

childSlotName
Type: SystemString

[Missing <param name="childSlotName"/> documentation for "M:Rhino.Render.RenderContent.IsFactoryProductAcceptableAsChild(System.Guid,System.String,System.String)"]

Return Value

Type: Boolean
Return true only if content with the specified kindId can be accepted as a child in the specified child slot.
See Also