Sets the translation portion of the matrix. If the optional ResetRotation flag is True, the rotation portion of the matrix is reset to identity.
Namespace:
Autodesk.iLogic.Types
Assembly:
Autodesk.iLogic.Types (in Autodesk.iLogic.Types.dll) Version: 25.0
Syntax
VB
Public Sub SetTranslation (
translation As DocumentUnitsVector2d,
Optional resetRotation As Boolean = false
)
C#
public void SetTranslation(
DocumentUnitsVector2d translation,
bool resetRotation = false
)
Parameters
- translation
- Type: Autodesk.iLogic.Types.DocumentUnitsVector2d
Input to subtract. - resetRotation (Optional)
- Type: System.Boolean
Optional input Boolean that indicates whether to reset to rotation portion of the matrix to identity. This Is an optional argument whose default value Is False.
See Also
Reference