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