Photon Quantum 3.0.0

Public Member Functions | Public Attributes | List of all members
Quantum.AssetObjectIdentifier Struct Reference

A struct that identifies an asset object by either its GUID and (optionally) path. More...

Public Member Functions

override string ToString ()
 Returns a string representation of the object. More...
 

Public Attributes

AssetGuid Guid
 Asset GUID, for when assets are queried by GUID. Mandatory. More...
 
readonly bool HasPath => !string.IsNullOrEmpty(Path)
 Is the path set? More...
 
String Path
 Asset path, for when assets are queried by path. Optional. More...
 

Detailed Description

A struct that identifies an asset object by either its GUID and (optionally) path.

Member Function Documentation

◆ ToString()

override string Quantum.AssetObjectIdentifier.ToString ( )
inline

Returns a string representation of the object.

Returns

Member Data Documentation

◆ Path

String Quantum.AssetObjectIdentifier.Path

Asset path, for when assets are queried by path. Optional.

◆ Guid

AssetGuid Quantum.AssetObjectIdentifier.Guid

Asset GUID, for when assets are queried by GUID. Mandatory.

◆ HasPath

readonly bool Quantum.AssetObjectIdentifier.HasPath => !string.IsNullOrEmpty(Path)

Is the path set?