Navigation
API > API/Plugins > API/Plugins/RigVM > API/Plugins/RigVM/RigVMFunctions > API/Plugins/RigVM/RigVMFunctions/Math
Inheritance Hierarchy
- FRigVMStruct
- FRigVMFunction_MathBase
- FRigVMFunction_MathDoubleBase
- FRigVMFunction_MathDoubleLawOfCosine
References
| Module | RigVM |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/Math/RigVMFunction_MathDouble.h |
| Include | #include "RigVMFunctions/Math/RigVMFunction_MathDouble.h" |
Syntax
USTRUCT&40;Meta&61;&40;DisplayName&61;"Law Of Cosine", TemplateName&61;"LawOfCosine"&41;&41;
struct FRigVMFunction_MathDoubleLawOfCosine : public FRigVMFunction_MathDoubleBase
Remarks
Computes the angles alpha, beta and gamma (in radians) between the three sides A, B and C
Variables
| Type | Name | Description | |
|---|---|---|---|
| double | A | ||
| double | AlphaAngle | ||
| double | B | ||
| double | BetaAngle | ||
| bool | bValid | ||
| double | C | ||
| double | GammaAngle |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |