Vector4.Transform Method (Vector4, Quaternion, Vector4)
Transforms a Vector4 by a specified Quaternion.
Syntax
'Declaration
Public Shared Sub Transform ( _
ref value As Vector4, _
ref rotation As Quaternion, _
out result As Vector4 _
)
public static void Transform (
ref Vector4 value,
ref Quaternion rotation,
out Vector4 result
)
public:
static void Transform(
ref Vector4 value,
ref Quaternion rotation,
out Vector4 result
)
Parameters
- value
Type: Vector4
The Vector4 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