Vector4Transform(Vector2, Matrix44, Vector4) Method |
Creates a new
Vector4 that contains a transformation of 2d-vector by the specified
Matrix44.
Namespace: CFX.Structures.GeometryAssembly: CFX (in CFX.dll) Version: 2.1.1+880255d2f7380f340f56b243a51d99f2136bdae3
Syntaxpublic static void Transform(
ref Vector2 position,
ref Matrix44 matrix,
out Vector4 result
)
Public Shared Sub Transform (
ByRef position As Vector2,
ByRef matrix As Matrix44,
<OutAttribute> ByRef result As Vector4
)
Parameters
- position Vector2
- Source Vector2.
- matrix Matrix44
- The transformation Matrix44.
- result Vector4
- Transformed Vector4 as an output parameter.
See Also