OverviewFilesCommitsIssuesDocsReleasesPeers

proc-nodes / docs / point-nodes-registration.txt

13 lines · txt ref:
Lines to add to src/register_types.cpp after curve nodes are merged.

Include (add with the other #include "nodes/..." lines):

    #include "nodes/point_nodes.h"

Registration (add after curve node registrations):

    // Point nodes
    GDREGISTER_CLASS(PointsNode);
    GDREGISTER_CLASS(PointsToVerticesNode);
    GDREGISTER_CLASS(DistributePointsOnFacesNode);