Navigation
API > API/Plugins > API/Plugins/RigVM
Returns true if each component of the value is within a tolerance of zero
| Name | FRigVMFunction_MathVectorIsNearlyZero |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/Math/RigVMFunction_MathVector.h |
| Include Path | #include "RigVMFunctions/Math/RigVMFunction_MathVector.h" |
Syntax
USTRUCT (Meta=(DisplayName="Is Nearly Zero", TemplateName="IsNearlyZero", Keywords="AlmostZero,0"))
struct FRigVMFunction_MathVectorIsNearlyZero : public FRigVMFunction_MathVectorBase
Inheritance Hierarchy
- FRigVMStruct → FRigVMFunction_MathBase → FRigVMFunction_MathVectorBase → FRigVMFunction_MathVectorIsNearlyZero
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigVMFunction_MathVectorIsNearlyZero() |
RigVMFunctions/Math/RigVMFunction_MathVector.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Result | bool | True if the input vector is within Tolerance of zero in each component. | RigVMFunctions/Math/RigVMFunction_MathVector.h |
|
| Tolerance | float | The tolerance to use when comparing each component with zero. | RigVMFunctions/Math/RigVMFunction_MathVector.h |
|
| Value | FVector | The input vector to check. | RigVMFunctions/Math/RigVMFunction_MathVector.h |
|
Functions
Public
Public Virtual
Overridden from FRigVMStruct
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
Execute logic for this struct | RigVMFunctions/Math/RigVMFunction_MathVector.h |