CustomRenderMeshProvider
Note: This API is now obsolete.
You must call CustomRenderMeshProvider.RegisterProviders() from your plug-ins OnLoad override for each assembly containing a custom mesh provider. Only publicly exported classes derived from CustomRenderMeshProvider with a public constructor that has no parameters will get registered.
Inheritance Hierarchy
System.Object
Rhino.Render.CustomRenderMeshProvider
Rhino.Render.CustomRenderMeshProvider2
Namespace: Rhino.Render
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
[ObsoleteAttribute]public abstract class CustomRenderMeshProvider
The CustomRenderMeshProvider type exposes the following members.
Constructors
Name
Description
Protected Method
CustomRenderMeshProvider
Default constructor
Properties
Name
Description
Public Property
Static Member
CurvePipingId
Public Property
Static Member
DisplacementId
Public Property
Static Member
EdgeSofteningId
Public Property
Name
The name of the provider for UI display.
Public Property
Static Member
ShutLiningId
Public Property
Static Member
ThickeningId
Methods
Name
Description
Public Method
Static Member
AllObjectsChanged.
Obsolete.
Call this method if your render meshes change.
Public Method
Static Member
AllObjectsChanged(RhinoDoc)
Call this method if your render meshes change.
Public Method
BoundingBox(ViewportInfo, RhinoObject, Guid, Boolean)
Returns a bounding box for the custom render meshes for the given object.
Public Method
BoundingBox(ViewportInfo, RhinoObject, RhinoDoc, Guid, DisplayPipelineAttributes)
Public Method
BuildCustomMeshes
Build custom render mesh(es).
Public Method
Static Member
DocumentBasedMeshesChanged
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected Method
Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected Method
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public Method
Static Member
ObjectChanged
Public Method
Static Member
RegisterProviders
Call this method once from your plug-ins OnLoad override for each assembly containing a custom mesh provider. Only publicly exported classes derived from CustomRenderMeshProvider with a public constructor that has no parameters will get registered.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public Method
WillBuildCustomMeshes
Determines if custom render meshes will be built for a particular object.