SetUntypedBlobData(ReadOnlySpan<byte>, ulong, int)
Replaces the data stored in this object with a copy of the given data, type hash, and version.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AnimationModule
public void SetUntypedBlobData(ReadOnlySpan<byte> data, ulong typeHash, int version)
Parameters
The data to copy. If it is empty, the object becomes empty.
The type hash of the data. Refer to BlobObjectReference<T>.TypeHash.
The version to store with the data. A typed access, such as BlobObject.AcquireReference, succeeds only if you pass the same version.
Remarks
data