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