DocumentUnitsMatrixSetTranslation Method |
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: 23.0
Syntax Public Sub SetTranslation (
translation As DocumentUnitsVector,
Optional resetRotation As Boolean = false
)
public void SetTranslation(
DocumentUnitsVector translation,
bool resetRotation = false
)
Parameters
- translation
- Type: Autodesk.iLogic.TypesDocumentUnitsVector
Input to subtract. - resetRotation (Optional)
- Type: SystemBoolean
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