Class ModelAsset
Represents a Sentis model asset.
Inherited Members
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
UnityEngine.Object.FindFirstObjectByType<T>()
UnityEngine.Object.FindAnyObjectByType<T>()
UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
Namespace: Unity.Sentis
Syntax
[PreferBinarySerialization]
public class ModelAsset : ScriptableObject
Fields
modelAssetData
The serialized binary data for the input descriptions, constant descriptions, layers, outputs, and metadata of the model.
Declaration
[HideInInspector]
public ModelAssetData modelAssetData
Field Value
Type | Description |
---|---|
ModelAssetData |
modelWeightsChunks
The serialized binary data for the constant weights of the model, split into chunks.
Declaration
[HideInInspector]
public ModelAssetWeightsData[] modelWeightsChunks
Field Value
Type | Description |
---|---|
ModelAssetWeightsData[] |