Vector4.Transform Method (Vector3, Quaternion, Vector4)
Transforms a Vector3 by a specified Quaternion into a Vector4.
Syntax
'Declaration
Public Shared Sub Transform ( _
ref value As Vector3, _
ref rotation As Quaternion, _
out result As Vector4 _
)
public static void Transform (
ref Vector3 value,
ref Quaternion rotation,
out Vector4 result
)
public:
static void Transform(
ref Vector3 value,
ref Quaternion rotation,
out Vector4 result
)
Parameters
- value
Type: Vector3
The Vector3 to transform. - rotation
Type: Quaternion
The Quaternion rotation to apply. - result
Type: Vector4
[OutAttribute] The Vector4 resulting from the transformation.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Vector4 Structure
Vector4 Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone