Matrix2d.SetTranslation Method

Parent Object: Matrix2d

Description

Sets the translation portion of the matrix2d.

Syntax

Matrix2d.SetTranslation( Translation As Vector2d, [ResetRotation] As Boolean )

Parameters

Name Type Description
Translation Vector2d Vector of translation
ResetRotation Boolean Optional. If True, the rotation portion of the matrix2d is reset to identity.

This is an optional argument whose default value is False.

Version

Introduced in version 11