Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

public static function GetLayerCost(layer: int): float;
public static float GetLayerCost(int layer);

Parameters

Description

Gets the cost for traversing over geometry of the layer type on all agents.