GE Lua Documentation

Press F to search!

getCloudWindByID

Definition


-- @/lua/ge/extensions/core/environment.lua:418

local function getCloudWindByID(objectID)
  local cloudObj = scenetree.findObjectById(objectID)
  local windSpeed
  if cloudObj then
    windSpeed = cloudObj.windSpeed
  end
  return windSpeed
end

Callers

@/lua/ge/extensions/flowgraph/nodes/environment/getCloud.lua
  local exposure = core_environment.getCloudExposureByID(cloudObject)
  local windSpeed = core_environment.getCloudWindByID(cloudObject)
  local height = core_environment.getCloudHeightByID(cloudObject)