BookmarkMaterialPath
BookmarkMaterialPath
#Overview
name: BookmarkMaterialPath
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:33, section: [/Script/VPUtilities.VPBookmarkSettings]
- INI Section:
/Script/VPUtilities.VPBookmarkSettings
- Raw value:
/VirtualProductionUtilities/Bookmark/MI_BookmarkVPNoUser.MI_BookmarkVPNoUser
- Is Array:
False
#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:44
Scope (from outer to inner):
file
function AVPBookmarkActor::AVPBookmarkActor
Source code excerpt:
if (!IsRunningCommandlet())
{
static ConstructorHelpers::FObjectFinder<UMaterialInterface> MaterialFinder(*GetDefault<UVPBookmarkSettings>()->BookmarkMaterialPath.ToString());
if (MaterialFinder.Succeeded())
{
BookmarkMaterial = MaterialFinder.Object;
}
else
{
UE_LOG(LogVPUtilities, Warning, TEXT("Failed to load bookmark material: %s"), *GetDefault<UVPBookmarkSettings>()->BookmarkMaterialPath.ToString());
}
}
//Apply found material to all material slots on the BookmarkMeshComponent
for (int32 i = 0; i < BookmarkMeshComponent->GetNumMaterials(); i++)
{
BookmarkMeshComponent->SetMaterial(i, BookmarkMaterial);
#Loc: <Workspace>/Engine/Plugins/Experimental/VirtualProductionUtilities/Source/VPUtilities/Public/VPBookmarkSettings.h:17
Scope (from outer to inner):
file
class class UVPBookmarkSettings : public UObject
Source code excerpt:
/** Bookmark mesh material to use for Bookmark actor */
UPROPERTY(config, EditAnywhere, Category = "VP Bookmark", meta = (AllowedClasses = "/Script/Engine.MaterialInterface", DisplayName = "Bookmark Mesh Material"))
FSoftObjectPath BookmarkMaterialPath;
/** Bookmark spline mesh to use for Bookmark actor */
UPROPERTY(config, EditAnywhere, Category = "VP Bookmark", meta = (AllowedClasses = "/Script/Engine.StaticMesh", DisplayName = "Bookmark Spline Mesh"))
FSoftObjectPath BookmarkSplineMeshPath;
/** Bookmark spline mesh material to use for Bookmark actor */