Declaración
func SlerpVector3(valueA Vector3, valueB Vector3, valueT float) Vector3
go
Parámetros
Entrada
Nombre | Tipo | Descripción |
---|---|---|
ValueA | Vector3 | A Value |
ValueB | Vector3 | B value |
ValueT | Float | Interpolation progress, the value range is [0,1]. When the value is 0, it returns the A value, and when the value is 1, it returns the B value. |
Regresar
Tipo | Descripción |
---|---|
Vector3 | The resulting quaternion |