BookmarkLabelMaterialPath

BookmarkLabelMaterialPath

#Overview

name: BookmarkLabelMaterialPath

The value of this variable can be defined or overridden in .ini config files. 1 .ini config file referencing this setting variable.

It is referenced in 2 C++ source files.

#Summary

#Setting Variables

#References In INI files

Location: <Workspace>/Engine/Plugins/Experimental/VirtualProductionUtilities/Config/BaseVirtualProductionUtilities.ini:36, section: [/Script/VPUtilities.VPBookmarkSettings]

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Plugins/Experimental/VirtualProductionUtilities/Source/VPUtilities/Private/Actors/VPBookmarkActor.cpp:110

Scope (from outer to inner):

file
function     AVPBookmarkActor::AVPBookmarkActor

Source code excerpt:

	if (!IsRunningCommandlet())
	{
		static ConstructorHelpers::FObjectFinder<UMaterialInterface> LabelMaterialFinder(*GetDefault<UVPBookmarkSettings>()->BookmarkLabelMaterialPath.ToString());

		if (LabelMaterialFinder.Succeeded())
		{
			LabelMaterialInstance = LabelMaterialFinder.Object;
		}
		else
		{
			UE_LOG(LogVPUtilities, Warning, TEXT("Failed to load bookmark spline material: %s"), *GetDefault<UVPBookmarkSettings>()->BookmarkLabelMaterialPath.ToString());
		}
	}

	NameTextRenderComponent->SetMaterial(0, LabelMaterialInstance);

	CameraComponent = CreateDefaultSubobject<UCineCameraComponent>(TEXT("Camera"));

#Loc: <Workspace>/Engine/Plugins/Experimental/VirtualProductionUtilities/Source/VPUtilities/Public/VPBookmarkSettings.h:29

Scope (from outer to inner):

file
class        class UVPBookmarkSettings : public UObject

Source code excerpt:

	/** Bookmark label material class to use for Bookmark actor */
	UPROPERTY(config, EditAnywhere, Category = "VP Bookmark", meta = (AllowedClasses = "/Script/Engine.MaterialInterface", DisplayName = "Bookmark Label Material"))
	FSoftObjectPath BookmarkLabelMaterialPath;
};