getNodeCluster
Definition
-- @/=[C]:-1
function getNodeCluster(...)
Callers
@/lua/vehicle/bdebugImpl.lua
local node = v.data.nodes[i]
local clusterId = obj:getNodeCluster(node.cid)
if not clusterIndexToColorIndex[clusterId] then
local node = v.data.nodes[i]
local clusterId = obj:getNodeCluster(node.cid)
local col = jetColor(clusterIndexToColorIndex[clusterId] / numberOfClusters)
elseif modeID == 10 then
local refClusterId = obj:getNodeCluster(v.data.refNodes[0].ref)
local node = v.data.nodes[i]
local clusterId = obj:getNodeCluster(node.cid)
local col = jetColor(refClusterId == clusterId and 0.5 or 0)