Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UCameraLensEffectInterfaceClassS-
Description
Set the represented class of the passed in variable. Note: Check the tooltips on the individual pins. You cannot bypass the validation by connecting a wires to this node!!
| Name | SetInterfaceClass |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Camera/CameraLensEffectInterface.h |
| Include Path | #include "Camera/CameraLensEffectInterface.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Camera/CameraLensEffectInterface.cpp |
UFUNCTION (BlueprintCallable, Category="Lens Effect", Meta=(ExpandEnumAsExecs=Result))
static void SetInterfaceClass
(
TSubclassOf < AActor > Class,
FCameraLensInterfaceClassSupport & Var,
EInterfaceValidResult & Result
)
Parameters
| Name | Remarks |
|---|---|
| Class | MUST implement CameraLensEffectInterface - when connecting variables to the input, take care that the input class does in fact implement the interface. |
| Var | The wrapper (for validation purposes) of the lens effect class. |