Class WeightBehaviour
An field used to store an animatable weight in timeline
Namespace: Unity.Timeline.Hybrid
Syntax
[Serializable]
public class WeightBehaviour : PlayableBehaviour
Fields
Weight
Declaration
public float Weight
Field Value
| Type | Description |
|---|---|
| Single |
Methods
GetTrackWeightCurve(TrackAsset, BlobAssetStore)
Declaration
public static BlobAssetReference<AnimationCurveBlob> GetTrackWeightCurve(TrackAsset asset, BlobAssetStore assetStore)
Parameters
| Type | Name | Description |
|---|---|---|
| TrackAsset | asset | |
| BlobAssetStore | assetStore |
Returns
| Type | Description |
|---|---|
| BlobAssetReference<AnimationCurveBlob> |