TrackLayerCollectionSetCurrentTargetDepths Method
Set the current and target depths for the layer using requirements from
the selected tool and minimum / maximum required depths.
Namespace: ShopToolsAssembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
private bool SetCurrentTargetDepths(
TrackLayerItem layer,
MinMaxItem minMax,
TrackToolItem tool,
float previousDepth = 0f
)
Private Function SetCurrentTargetDepths (
layer As TrackLayerItem,
minMax As MinMaxItem,
tool As TrackToolItem,
Optional previousDepth As Single = 0F
) As Boolean
No code example is currently available or this language may not be supported.
- layer TrackLayerItem
-
Reference to the layer upon which the values will be set.
- minMax MinMaxItem
-
Minimum and maximum depths requested on the layer.
- tool TrackToolItem
-
The active tool assigned to the layer.
- previousDepth Single (Optional)
-
The previous depth already reached.
Boolean
True if some goal has been set. Otherwise, false.
This value is set inline on the caller's layer.