Vector2.SinCos(Vector2) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Computes the sine and cosine of each element in a vector.
public:
static ValueTuple<System::Numerics::Vector2, System::Numerics::Vector2> SinCos(System::Numerics::Vector2 vector);
public static(System.Numerics.Vector2 Sin, System.Numerics.Vector2 Cos) SinCos(System.Numerics.Vector2 vector);
static member SinCos : System.Numerics.Vector2 -> ValueTuple<System.Numerics.Vector2, System.Numerics.Vector2>
Public Shared Function SinCos (vector As Vector2) As ValueTuple(Of Vector2, Vector2)
Parameters
- vector
- Vector2
The vector that will have its sine and cosine computed.
Returns
A vector whose elements are the sine and cosine of the elements in vector.