Navigation
API > API/Plugins > API/Plugins/ControlRig
A rule that defines how many Connections an Array Connector can have
| Name | FRigArraySizeConnectionRule |
| Type | struct |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigConnectionRules.h |
| Include Path | #include "Rigs/RigConnectionRules.h" |
Syntax
USTRUCT (BlueprintType , DisplayName="Array Size Rule")
struct FRigArraySizeConnectionRule : public FRigConnectionRule
Inheritance Hierarchy
- FRigConnectionRule → FRigArraySizeConnectionRule
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bMaxEnabled | bool | Rigs/RigConnectionRules.h |
|
|
| bMinEnabled | bool | Rigs/RigConnectionRules.h |
|
|
| MaxNumConnections | int32 | Rigs/RigConnectionRules.h |
|
|
| MinNumConnections | int32 | Rigs/RigConnectionRules.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TOptional< int32 > GetMaxNumConnections() |
Returns the max num elments the connections array should have | Rigs/RigConnectionRules.h | |
TOptional< int32 > GetMinNumConnections() |
Returns the min num elments the connections array should have | Rigs/RigConnectionRules.h |
Public Virtual
Overridden from FRigConnectionRule
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UScriptStruct * GetScriptStruct() |
Rigs/RigConnectionRules.h | ||
virtual FRigElementResolveResult Resolve
(
const FRigBaseElement* InTarget, |
Rigs/RigConnectionRules.h |