SampSharp
SampSharp
SampSharp.Entities.SAMP
Quaternion Structure
Quaternion Methods
Concatenate Method
Conjugate Method
CreateFromAxisAngle Method
CreateFromRotationMatrix Method
CreateFromYawPitchRoll Method
Dot Method
Equals Method
GetHashCode Method
Lerp Method
Normalize Method
Slerp Method
ToVector4 Method
Quaternion
Lerp 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#
Copy
public
static
Quaternion
Lerp
(
Quaternion
quaternion1
,
Quaternion
quaternion2
,
float
amount
)
Parameters
quaternion1
Type:
SampSharp.Entities.SAMP
Quaternion
Source
Quaternion
.
quaternion2
Type:
SampSharp.Entities.SAMP
Quaternion
Source
Quaternion
.
amount
Type:
System
Single
The blend amount where 0 returns
quaternion1
and 1
quaternion2
.
Return Value
Type:
Quaternion
The result of linear blending between two quaternions.
See Also
Reference
Quaternion Structure
SampSharp.Entities.SAMP Namespace