Function JobTexturePenalty.ModifyNode
ModifyNode
(int dataIndex, int dataX, int dataLayer, int dataZ)
Called for every node that is being updated.
Public
void ModifyNode (
int | dataIndex | Index of the node. This is the index in the data arrays for the graph update, not necessarily the index in the graph. |
int | dataX | X coordinate of the node, relative to the updated region. |
int | dataLayer | Layer (Y) coordinate of the node, relative to the updated region. |
int | dataZ | Z coordinate of the node, relative to the updated region. |
Called for every node that is being updated.
See
Writing a rule that uses the Unity Job System for example usage.