KLingo Project Documentation
1.0.0
Unreal Engine 5.6 C++ Project Documentation
로딩중...
검색중...
일치하는것 없음
TutorSpeechWidget.cpp
이 파일의 문서화 페이지로 가기
1
// Copyright (c) 2025 Doppleddiggong. All rights reserved. Unauthorized copying, modification, or distribution of this file, via any medium is strictly prohibited. Proprietary and confidential.
2
3
4
#include "
TutorSpeechWidget.h
"
5
6
#include "Components/TextBlock.h"
7
8
void
UTutorSpeechWidget::SetInputText
(FString InText)
9
{
10
FString inputText;
11
if
(InText.Len() >
maxTextLength
)
12
{
13
inputText = InText.Left(
maxTextLength
) +
"..."
;
14
}
15
else
16
{
17
inputText = InText;
18
}
19
Text_Speech
->SetText(FText::FromString(inputText));
20
}
TutorSpeechWidget.h
UTutorSpeechWidget::SetInputText
void SetInputText(FString InText)
Definition
TutorSpeechWidget.cpp:8
UTutorSpeechWidget::Text_Speech
TObjectPtr< class UTextBlock > Text_Speech
Definition
TutorSpeechWidget.h:22
UTutorSpeechWidget::maxTextLength
const int32 maxTextLength
Definition
TutorSpeechWidget.h:25
Source
Onepiece
UI
Private
TutorSpeechWidget.cpp
생성시간 : 금 1월 9 2026 00:25:57, 프로젝트명 : KLingo Project Documentation, 생성자 :
1.9.8