Navigation
API > API/Plugins > API/Plugins/UVEditorTools > API/Plugins/UVEditorTools/UUVEditorChannelEditTargetProper-
References
| Module | UVEditorTools |
| Header | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Public/UVEditorLayerEditTool.h |
| Include | #include "UVEditorLayerEditTool.h" |
| Source | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Private/UVEditorLayerEditTool.cpp |
int32 GetSelectedChannelIndex
&40;
bool bForceToZeroOnFailure,
bool bUseReference
&41;
selected UV channel index, or -1 if invalid selection, or 0 if invalid selection and bool bForceToZeroOnFailure = true
Parameters
| Name | Description |
|---|---|
| bForceToZeroOnFailure | if true, then instead of returning -1 we return 0 so calling code can fallback to default UV paths |
| bUseReference | if true, get the selected reference channel index, otherwise return the target channel's index. |