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
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}
void SetInputText(FString InText)
TObjectPtr< class UTextBlock > Text_Speech