/// <summary> /// Build custom render mesh(es). /// </summary> /// <param name="vp">The viewport being rendered.</param> /// <param name="objMeshes">The meshes class to populate with custom meshes.</param> /// <param name="requestingPlugIn">UUID of the RDK plug-in requesting the meshes.</param> /// <param name="meshType">Type of mesh to build.</param> /// <returns>true if operation was successful.</returns> public abstract bool BuildCustomMeshes(Rhino.DocObjects.ViewportInfo vp, ObjectMeshes objMeshes, Guid requestingPlugIn, MeshTypes meshType);
/// <summary> /// Build custom render mesh(es) for the given object. /// </summary> /// <param name="vp">the viewport being rendered.</param> /// <param name="objMeshes">The meshes object to fill with custom meshes - the Object property will already be set.</param> /// <param name="requestingPlugIn">the UUID of the RDK plug-in requesting the meshes.</param> /// <param name="meshType"> type of mesh(es) to build.</param> /// <returns>true if successful.</returns> public static bool BuildCustomMeshes(Rhino.DocObjects.ViewportInfo vp, ObjectMeshes objMeshes, Guid requestingPlugIn, MeshTypes meshType) { return(UnsafeNativeMethods.Rdk_CRMManager_BuildCustomMeshes(vp.ConstPointer(), objMeshes.NonConstPointer(), requestingPlugIn, (int)meshType)); }
/// <summary> /// Build custom render mesh(es) for the given object. /// </summary> /// <param name="vp">the viewport being rendered.</param> /// <param name="objMeshes">The meshes object to fill with custom meshes - the Object property will already be set.</param> /// <param name="requestingPlugIn">the UUID of the RDK plug-in requesting the meshes.</param> /// <param name="meshType"> type of mesh(es) to build.</param> /// <returns>true if successful.</returns> public static bool BuildCustomMeshes(Rhino.DocObjects.ViewportInfo vp, ObjectMeshes objMeshes, Guid requestingPlugIn, MeshTypes meshType) { return UnsafeNativeMethods.Rdk_CRMManager_BuildCustomMeshes(vp.ConstPointer(), objMeshes.NonConstPointer(), requestingPlugIn, (int)meshType); }