UUsdConversionBlueprintContext::ConvertLightComponent

We manually convert the FLT_MAX value into [Usd.TimeCode.Default()](API\Plugins\NetworkPrediction\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

Windows
MacOS
Linux

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

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Component conversion")
bool ConvertLightComponent
(
    const ULightComponentBase * Component,
    const FString & PrimPath,
    float TimeCode
)

Remarks

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss