AsBlobAssetReference()
Returns a blob asset reference to the data that this reference points to.
Read time 1 minuteLast updated a day ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AnimationModule
public readonly BlobAssetReference<T> AsBlobAssetReference()
Returns
Type | Description |
|---|---|
| BlobAssetReference<T> | The blob asset reference to the data. The value is a default value if BlobObjectReference<T>.IsValid is |
Remarks
Use this method to read the blob data through the property of the returned BlobAssetReference<T>. The returned value is a view of the data, not a copy. It stays valid only until you dispose this reference, and you must not dispose the returned value yourself.
Value