Click or drag to resize

Quaternion Constructor (Single, Single, Single, Single)

Constructs a quaternion with X, Y, Z and W from four values.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public Quaternion(
	float x,
	float y,
	float z,
	float w
)

Parameters

x
Type: SystemSingle
The x coordinate in 3d-space.
y
Type: SystemSingle
The y coordinate in 3d-space.
z
Type: SystemSingle
The z coordinate in 3d-space.
w
Type: SystemSingle
The rotation component.
See Also