Navigation
Unreal Engine C++ API Reference > Plugins > HairStrandsEditor
References
Module | HairStrandsEditor |
Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsEditor/Public/HairStrandsTranslator.h |
Include | #include "HairStrandsTranslator.h" |
Syntax
class IGroomTranslator
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | BeginTranslation
(
const FString& FilePath |
Open a file for multiple translations at different frame indices |
![]() |
bool | CanTranslate
(
const FString& FilePath |
Return true if a given file can be translated (by checking its content if necessary) |
![]() ![]() |
void | Clean up after finishing translations | |
![]() ![]() |
FString | Return the file format supported by the translator in the form "ext;file format description" | |
![]() ![]() |
bool | IsFileExtensionSupported
(
const FString& FileExtension |
Return true if a given file extension is supported by the translator |
![]() |
bool | Translate
(
const FString& FilePath, |
Translate a given file into a HairDescription; return true if successful |
![]() ![]() |
bool | Translate
(
float FrameTime, |
Translate a given file into a HairDescription at the requested frame time (in seconds); return true if successful |
![]() ![]() |
bool | Translate
(
const FString& FilePath, |
Translate a given file into a HairDescription with info about Groom animation if OutAnimInfo is not null; return true if successful |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Translate
(
uint32 FrameIndex, |
Translate by frame index is deprecated. Use Translate by frame time instead. |