ShopToolsUtilGetPositionZAbs Method

Return the absolute position of Z at the specified position type.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
C#
public static float GetPositionZAbs(
	TransitZEnum zPositionType,
	float depthOffset = 0f
)

Parameters

zPositionType  TransitZEnum
The type of position to which to check the Z-axis value.
depthOffset  Single  (Optional)
Optional depth offset to add to the found position.

Return Value

Single
The absolute position of the Z-axis at the specified position type, if known. Otherwise, 0.

See Also