FMath::SinCos

Computes the sine and cosine of a scalar value.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h

Include

#include "Math/UnrealMathUtility.h"

Syntax

static void SinCos
(
    float * ScalarSin,
    float * ScalarCos,
    float Value
)

Remarks

Computes the sine and cosine of a scalar value.

Parameters

Parameter

Description

ScalarSin

Pointer to where the Sin result should be stored

ScalarCos

Pointer to where the Cos result should be stored

Value

input angles

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss