Navigation
Unreal Engine C++ API Reference > Plugins > USDExporter > UUsdConversionBlueprintContext
References
Module | USDExporter |
Header | /Engine/Plugins/Importers/USDImporter/Source/USDExporter/Public/USDConversionBlueprintContext.h |
Include | #include "USDConversionBlueprintContext.h" |
Source | /Engine/Plugins/Importers/USDImporter/Source/USDExporter/Private/USDConversionBlueprintContext.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"Component conversion"&41;
bool ConvertLightComponent
&40;
const ULightComponentBase &42; Component,
const FString & PrimPath,
float TimeCode
&41;
Remarks
Note: We use FLT_MAX on these functions because Usd.TimeCode.Default().GetValue() is actually a nan, and nan arguments are automatically sanitized to 0.0f. We manually convert the FLT_MAX value into Usd.TimeCode.Default().GetValue() within the functions though, so if you want the Default timecode just omit the argument We are also forced to copypaste the FLT_MAX value (3.402823466e+38F) in here as the default arguments are parsed before the preprocessor replaces the defines