FAnimGraphNodeAlphaOptions::HandleCustomizePinData

Called from an UAnimGraphNode_Base-derived classes CustomizePinData to update alpha pins.

Unreal Engine C++ API Reference > Editor > AnimGraph > FAnimGraphNodeAlphaOptions

References

   
Module AnimGraph
Header /Engine/Source/Editor/AnimGraph/Public/AnimGraphNodeAlphaOptions.h
Include #include "AnimGraphNodeAlphaOptions.h"
template<typename AnimNodeType>
static void HandleCustomizePinData
(
    const AnimNodeType & InAnimNode,
    [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * InPin
)

Remarks

This assumes that a anim node contains the following members:float Alpha;FInputScaleBias AlphaScaleBias;FInputAlphaBoolBlend AlphaBoolBlend;FName AlphaCurveName;FInputScaleBiasClamp AlphaScaleBiasClamp;EAnimAlphaInputType AlphaInputType; bool bAlphaBoolEnabled;

This is implemented in this way (rather than encapsulating the options in their own struct) because we dont support exposing pins from sub-structs on anim nodes (or anything else for that matter).


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library