Class ModelAsset
Represents a Sentis model asset.
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetHashCode()
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Sentis
Assembly: solution.dll
Syntax
[PreferBinarySerialization]
public class ModelAsset : ScriptableObject
Fields
Name | Description |
---|---|
modelAssetData | The serialized binary data for the input descriptions, constant descriptions, layers, outputs, and metadata of the model. |
modelWeightsChunks | The serialized binary data for the constant weights of the model, split into chunks. |