Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FMath
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void SinCos
(
std::decay_t< T >* ScalarSin, |
Computes the sine and cosine of a scalar value. | Math/UnrealMathUtility.h | |
static void SinCos
(
double* ScalarSin, |
Math/UnrealMathUtility.h | ||
static void SinCos
(
T* ScalarSin, |
Math/UnrealMathUtility.h |
SinCos(std::decay_t< T > , std::decay_t< T > , T)
Description
Computes the sine and cosine of a scalar value.
| Name | SinCos |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include Path | #include "Math/UnrealMathUtility.h" |
template<UE::CFloatingPoint T>
static void SinCos
(
std::decay_t< T > * ScalarSin,
std::decay_t< T > * ScalarCos,
T Value
)
Parameters
| Name | Remarks |
|---|---|
| ScalarSin | Pointer to where the Sin result should be stored |
| ScalarCos | Pointer to where the Cos result should be stored |
| Value | input angles |
SinCos(double , double , double)
| Name | SinCos |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include Path | #include "Math/UnrealMathUtility.h" |
static void SinCos
(
double * ScalarSin,
double * ScalarCos,
double Value
)
SinCos(T , T , U)
| Name | SinCos |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include Path | #include "Math/UnrealMathUtility.h" |
template<typename T, typename U, std::enable_if_t<(!std::is_same_v< T, U >), int >>
static void SinCos
(
T * ScalarSin,
T * ScalarCos,
U Value
)