Files
tpf3-overtake/docs/reference/script-doc/content_base_model_metadata_util.md
T

13 KiB

index / content / base / model_metadata_util


Module content.base.model_metadata_util🔗

global record ModelMetadataUtil  convertEmissionData: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  addEmissionMetadata: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  addCostMetadata: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  addTransportVehicleTransportModes: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  addFilterTags: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  newLoadSpeedsAndMaintenanceFactor: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  turnRoadAndRailToLandVehicle: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  addVehicleExtent: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  addTransformatorConfig: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  toCompartmentList: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  replaceMeshIdWithNodeName: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  squeezeConfigsToOneConfigForVehicles: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  sortLods: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  addTextureLods: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  addTreeReputationFactor: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  makeLoadIndicators: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  makeLoadIndicatorFormats: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  makeCargoEntry: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  makeCargoTypeSet: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  convertCargoType: function(string, string): string
  convertCargoTypeSet: function({<any type> : <any type>}, string): {<any type> : <any type>}
  convertCargoTypes: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  addIconMetadata: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  convertParticleSystem: function(string, {<any type> : <any type>}): {<any type> : <any type>}
end

Category: globals🔗

ModelMetadataUtil🔗

global record ModelMetadataUtil  convertEmissionData: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  addEmissionMetadata: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  addCostMetadata: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  addTransportVehicleTransportModes: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  addFilterTags: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  newLoadSpeedsAndMaintenanceFactor: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  turnRoadAndRailToLandVehicle: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  addVehicleExtent: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  addTransformatorConfig: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  toCompartmentList: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  replaceMeshIdWithNodeName: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  squeezeConfigsToOneConfigForVehicles: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  sortLods: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  addTextureLods: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  addTreeReputationFactor: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  makeLoadIndicators: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  makeLoadIndicatorFormats: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  makeCargoEntry: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  makeCargoTypeSet: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  convertCargoType: function(string, string): string
  convertCargoTypeSet: function({<any type> : <any type>}, string): {<any type> : <any type>}
  convertCargoTypes: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  addIconMetadata: function(string, {<any type> : <any type>}): {<any type> : <any type>}
  convertParticleSystem: function(string, {<any type> : <any type>}): {<any type> : <any type>}
end

ModelMetadataUtil.convertEmissionData🔗

function ModelMetadataUtil.convertEmissionData(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.addEmissionMetadata🔗

function ModelMetadataUtil.addEmissionMetadata(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.addCostMetadata🔗

function ModelMetadataUtil.addCostMetadata(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.addTransportVehicleTransportModes🔗

function ModelMetadataUtil.addTransportVehicleTransportModes(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.addFilterTags🔗

function ModelMetadataUtil.addFilterTags(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.newLoadSpeedsAndMaintenanceFactor🔗

function ModelMetadataUtil.newLoadSpeedsAndMaintenanceFactor(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.turnRoadAndRailToLandVehicle🔗

function ModelMetadataUtil.turnRoadAndRailToLandVehicle(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.addVehicleExtent🔗

function ModelMetadataUtil.addVehicleExtent(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.addTransformatorConfig🔗

function ModelMetadataUtil.addTransformatorConfig(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.toCompartmentList🔗

function ModelMetadataUtil.toCompartmentList(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.replaceMeshIdWithNodeName🔗

function ModelMetadataUtil.replaceMeshIdWithNodeName(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.squeezeConfigsToOneConfigForVehicles🔗

function ModelMetadataUtil.squeezeConfigsToOneConfigForVehicles(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.sortLods🔗

function ModelMetadataUtil.sortLods(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.addTextureLods🔗

function ModelMetadataUtil.addTextureLods(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.addTreeReputationFactor🔗

function ModelMetadataUtil.addTreeReputationFactor(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.makeLoadIndicators🔗

function ModelMetadataUtil.makeLoadIndicators(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.makeLoadIndicatorFormats🔗

function ModelMetadataUtil.makeLoadIndicatorFormats(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.makeCargoEntry🔗

function ModelMetadataUtil.makeCargoEntry(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.makeCargoTypeSet🔗

function ModelMetadataUtil.makeCargoTypeSet(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.convertCargoType🔗

function ModelMetadataUtil.convertCargoType(string, string): string

Parameters

  • string
  • string

Returns

  1. string

ModelMetadataUtil.convertCargoTypeSet🔗

function ModelMetadataUtil.convertCargoTypeSet({<any type> : <any type>}, string): {<any type> : <any type>}

Parameters

  • {<any type> : <any type>}
  • string

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.convertCargoTypes🔗

function ModelMetadataUtil.convertCargoTypes(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.addIconMetadata🔗

function ModelMetadataUtil.addIconMetadata(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}

ModelMetadataUtil.convertParticleSystem🔗

function ModelMetadataUtil.convertParticleSystem(string, {<any type> : <any type>}): {<any type> : <any type>}

Parameters

  • string
  • {<any type> : <any type>}

Returns

  1. {<any type> : <any type>}