Navigation
API > API/Plugins > API/Plugins/PCG
| |
|
| Name |
EPCGMetadataMathsOperation |
| Type |
enum |
| Header File |
/Engine/Plugins/PCG/Source/PCG/Public/Elements/Metadata/PCGMetadataMathsOpElement.h |
| Include Path |
#include "Elements/Metadata/PCGMetadataMathsOpElement.h" |
Syntax
enum EPCGMetadataMathsOperation
{
UnaryOp = 1 << 10,
Sign,
Frac,
Truncate,
Round,
Sqrt,
Abs,
Floor,
Ceil,
OneMinus,
Inc,
Dec,
Negate,
BinaryOp = 1 << 11,
Add,
Subtract,
Multiply,
Divide,
Max,
Min,
Pow,
ClampMin,
ClampMax,
Modulo,
Set,
TernaryOp = 1 << 12,
Clamp,
Lerp,
MulAdd,
AddModulo,
}
Values
| Name |
Remarks |
| UnaryOp |
Unary op. |
| Sign |
|
| Frac |
|
| Truncate |
|
| Round |
|
| Sqrt |
|
| Abs |
|
| Floor |
|
| Ceil |
|
| OneMinus |
|
| Inc |
|
| Dec |
|
| Negate |
|
| BinaryOp |
Binary op. |
| Add |
|
| Subtract |
|
| Multiply |
|
| Divide |
|
| Max |
|
| Min |
|
| Pow |
|
| ClampMin |
ClampMin is just Max and ClampMax is just Min, so hide them. |
| ClampMax |
|
| Modulo |
|
| Set |
|
| TernaryOp |
Ternary op. |
| Clamp |
|
| Lerp |
|
| MulAdd |
|
| AddModulo |
|