Synced
AssetSampleTransformContext.TryGetSourceIdentity
Section titled “AssetSampleTransformContext.TryGetSourceIdentity”
- Resolves the source and clone identity of one file relative to the sample directory.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public bool Inno.Assets.Pipeline.AssetSampleTransformContext.TryGetSourceIdentity(string relativePath, out System.Guid oldId, out System.Guid newId)Parameters
Section titled “Parameters”Parameter relativePath: Slash-separated source-local file path below the sample directory.
Parameter oldId: Receives the installed source identity.
Parameter newId: Receives the writable clone identity.
Returns
Section titled “Returns”Whether both identities were recorded from sample metadata.