Matrix4x4Ext.Interpolate Method

Interpolates two matrices by decomposing the position, rotation and scale values and interpolating them separately.

Namespace: UltimateXR.Extensions.Unity.Math
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static Matrix4x4 Interpolate(
	Matrix4x4 matrixA,
	Matrix4x4 matrixB,
	float blendValue
)

Parameters

 

matrixA
Type: Matrix4x4
Source matrix
matrixB
Type: Matrix4x4
Destination matrix
blendValue
Type: System.Single
Interpolation value [0.0, 1.0]

Return Value

Type: Matrix4x4
Interpolated matrix

See Also

Reference

Matrix4x4Ext Class
UltimateXR.Extensions.Unity.Math Namespace