Vector3.SinCos(Vector3) 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::Vector3, System::Numerics::Vector3> SinCos(System::Numerics::Vector3 vector);
public static(System.Numerics.Vector3 Sin, System.Numerics.Vector3 Cos) SinCos(System.Numerics.Vector3 vector);
static member SinCos : System.Numerics.Vector3 -> ValueTuple<System.Numerics.Vector3, System.Numerics.Vector3>
Public Shared Function SinCos (vector As Vector3) As ValueTuple(Of Vector3, Vector3)
Parameters
- vector
- Vector3
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.