Math
- lerp_matrix(a: pymel.core.dt.Matrix, b: pymel.core.dt.Matrix, alpha: float) pymel.core.dt.Matrix
Return a linear interpolation between two matrices.
- Parameters:
a (Matrix) – A matrix
b (Matrix) – A second matrix
alpha (float) – A 0..1 float used to blend between matrix A (0) and B (1)
- Returns:
A matrix blended from A to B
- make_matrix_from_xy(x_axis, y_axis)
Return a matrix with given X and Y axes. X will remain fixed, Y may be changed minimally to enforce orthogonality. Z will be computed. Inputs need not be normalized.
- make_matrix_from_xz(x_axis, z_axis)
Return a matrix with given X and Z axes. X will remain fixed, Z may be changed minimally to enforce orthogonality. Y will be computed. Inputs need not be normalized.