Download LyraStarterGame/Source/LyraGame/System/LyraSystemStatics.h from Alexhas2/unitysamples: direct link, hf CLI and curl.
- Browser
- Download file 2.66 kB
-
https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/System/LyraSystemStatics.h
- Command line
-
hf download hf://datasets/Alexhas2/unitysamples/LyraStarterGame/Source/LyraGame/System/LyraSystemStatics.h
-
curl -L -o LyraSystemStatics.h https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/System/LyraSystemStatics.h
2.66 kB
| // Copyright Epic Games, Inc. All Rights Reserved. | |
| template <typename T> class TSubclassOf; | |
| class AActor; | |
| class UActorComponent; | |
| class UObject; | |
| struct FFrame; | |
| UCLASS() | |
| class ULyraSystemStatics : public UBlueprintFunctionLibrary | |
| { | |
| GENERATED_BODY() | |
| public: | |
| /** Returns the soft object reference associated with a Primary Asset Id, this works even if the asset is not loaded */ | |
| UFUNCTION(BlueprintPure, Category = "AssetManager", meta=(DeterminesOutputType=ExpectedAssetType)) | |
| static TSoftObjectPtr<UObject> GetTypedSoftObjectReferenceFromPrimaryAssetId(FPrimaryAssetId PrimaryAssetId, TSubclassOf<UObject> ExpectedAssetType); | |
| UFUNCTION(BlueprintCallable) | |
| static FPrimaryAssetId GetPrimaryAssetIdFromUserFacingExperienceName(const FString& AdvertisedExperienceID); | |
| UFUNCTION(BlueprintCallable, BlueprintAuthorityOnly, Category="Lyra", meta = (WorldContext = "WorldContextObject")) | |
| static void PlayNextGame(const UObject* WorldContextObject); | |
| // Sets ParameterName to ParameterValue on all sections of all mesh components found on the TargetActor | |
| UFUNCTION(BlueprintCallable, Category = "Rendering|Material", meta=(DefaultToSelf="TargetActor")) | |
| static void SetScalarParameterValueOnAllMeshComponents(AActor* TargetActor, const FName ParameterName, const float ParameterValue, bool bIncludeChildActors = true); | |
| // Sets ParameterName to ParameterValue on all sections of all mesh components found on the TargetActor | |
| UFUNCTION(BlueprintCallable, Category = "Rendering|Material", meta=(DefaultToSelf="TargetActor")) | |
| static void SetVectorParameterValueOnAllMeshComponents(AActor* TargetActor, const FName ParameterName, const FVector ParameterValue, bool bIncludeChildActors = true); | |
| // Sets ParameterName to ParameterValue on all sections of all mesh components found on the TargetActor | |
| UFUNCTION(BlueprintCallable, Category = "Rendering|Material", meta=(DefaultToSelf="TargetActor")) | |
| static void SetColorParameterValueOnAllMeshComponents(AActor* TargetActor, const FName ParameterName, const FLinearColor ParameterValue, bool bIncludeChildActors = true); | |
| // Gets all the components that inherit from the given class | |
| UFUNCTION(BlueprintCallable, Category = "Actor", meta=(DefaultToSelf="TargetActor", ComponentClass="/Script/Engine.ActorComponent", DeterminesOutputType="ComponentClass")) | |
| static TArray<UActorComponent*> FindComponentsByClass(AActor* TargetActor, TSubclassOf<UActorComponent> ComponentClass, bool bIncludeChildActors = true); | |
| }; | |