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: Unity.Sentis.dll
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[] |