主题
Home > @esengine/ecs-framework-monorepo > Matrix3 > TRS
创建TRS(平移-旋转-缩放)变换矩阵
Signature:
static TRS(translation: Vector2, rotation: number, scale: Vector2): Matrix3;
Parameter
Type
Description
translation
Vector2
平移向量
rotation
number
旋转角度(弧度)
scale
缩放向量
Returns:
Matrix3
新的TRS矩阵