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
Implements IEquatable<FSoftObjectPath>, IStruct<FSoftObjectPath>

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

FSoftObjectPath(AssetBinaryReader, Boolean)

FSoftObjectPath(AssetBinaryReader reader, bool allowIndex)

Parameters

reader AssetBinaryReader

allowIndex Boolean

Methods

Read(AssetBinaryReader)

FSoftObjectPath Read(AssetBinaryReader reader)

Parameters

reader AssetBinaryReader

Returns

FSoftObjectPath

Write(AssetBinaryWriter, Boolean)

int Write(AssetBinaryWriter writer, bool allowIndex)

Parameters

writer AssetBinaryWriter

allowIndex Boolean

Returns

Int32

Write(AssetBinaryWriter)

int Write(AssetBinaryWriter writer)

Parameters

writer AssetBinaryWriter

Returns

Int32

Equals(FSoftObjectPath)

bool Equals(FSoftObjectPath other)

Parameters

other FSoftObjectPath

Returns

Boolean

Equals(Object)

bool Equals(object obj)

Parameters

obj Object

Returns

Boolean

GetHashCode()

int GetHashCode()

Returns

Int32

ToString()

string ToString()

Returns

String

FromString(String[], UAsset)

FSoftObjectPath FromString(String[] d, UAsset asset)

Parameters

d String[]

asset UAsset

Returns

FSoftObjectPath