Click or drag to resize

QuaternionLerp Method

Performs a linear blend between two quaternions.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public static Quaternion Lerp(
	Quaternion quaternion1,
	Quaternion quaternion2,
	float amount
)

Parameters

quaternion1
Type: SampSharp.Entities.SAMPQuaternion
Source Quaternion.
quaternion2
Type: SampSharp.Entities.SAMPQuaternion
Source Quaternion.
amount
Type: SystemSingle
The blend amount where 0 returns quaternion1 and 1 quaternion2.

Return Value

Type: Quaternion
The result of linear blending between two quaternions.
See Also