Click or drag to resize

Vector3Transform Method (Vector3, Quaternion)

Creates a new Vector3 that contains a transformation of 3d-vector by the specified Quaternion, representing the rotation.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public static Vector3 Transform(
	Vector3 value,
	Quaternion rotation
)

Parameters

value
Type: SampSharp.Entities.SAMPVector3
Source Vector3.
rotation
Type: SampSharp.Entities.SAMPQuaternion
The Quaternion which contains rotation transformation.

Return Value

Type: Vector3
Transformed Vector3.
See Also