FSoftObjectPath

Namespace: UAssetAPI.PropertyTypes.Objects

A reference variable to another object which may be null, and may become valid or invalid at any point.

public struct FSoftObjectPath

Inheritance ObjectValueTypeFSoftObjectPath

Fields

AssetPath

Asset path, patch to a top level object in a package. This is /package/path.assetname/

public FTopLevelAssetPath AssetPath;

SubPathString

Optional FString for subobject within an asset. This is the sub path after the :

public FString SubPathString;

Constructors

FSoftObjectPath(FName, FName, FString)

FSoftObjectPath(FName packageName, FName assetName, FString subPathString)

Parameters

packageName FName

assetName FName

subPathString FString

FSoftObjectPath(FTopLevelAssetPath, FString)

FSoftObjectPath(FTopLevelAssetPath assetPath, FString subPathString)

Parameters

assetPath FTopLevelAssetPath

subPathString FString

Methods

Read(AssetBinaryReader)

FSoftObjectPath Read(AssetBinaryReader reader)

Parameters

reader AssetBinaryReader

Returns

FSoftObjectPath

Write(AssetBinaryWriter)

int Write(AssetBinaryWriter writer)

Parameters

writer AssetBinaryWriter

Returns

Int32