keys
All keys defined in the animation curve.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public Keyframe[] keys { get; set; }
Remarks
This lets you clear, add or remove any keys from the array. If keys are not sorted by time, they will be automatically sorted on assignment.
Note that the array is "by value", i.e. getting keys returns a copy of all keys and setting keys copies them into the curve.