ShopToolsUtilTranslateOffset(FArea, Single, Single, OffsetTopBottomEnum, Single) Method
Translate the relative positional offset from the visual perspective
to absolute positions based upon the physical anchors on the table or
material.
Namespace: ShopToolsAssembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
public static float TranslateOffset(
FArea area,
float subjectHeight,
float offset,
OffsetTopBottomEnum offsetType,
float relativeOffset = -3.402823E+38f
)
Public Shared Function TranslateOffset (
area As FArea,
subjectHeight As Single,
offset As Single,
offsetType As OffsetTopBottomEnum,
Optional relativeOffset As Single = -3.402823E+38F
) As Single
No code example is currently available or this language may not be supported.
- area FArea
-
Reference to the area from which the offset is relative. This
value represents physical coordinates.
- subjectHeight Single
-
Height of the subject being positioned.
- offset Single
-
The offset to polarize.
- offsetType OffsetTopBottomEnum
-
The visual relative direction with which the offset is associated.
- relativeOffset Single (Optional)
-
A base offset for the entire space.
Single
The physical offset, relative to the established direction of travel
on the table.
This method assumes that the left and top positions constitute the
local anchor of the area.