Version: 2017.3

AnimationCurve

class in UnityEngine

매뉴얼로 전환

설명

Store a collection of Keyframes that can be evaluated over time.

변수

keysAll keys defined in the animation curve.
lengthThe number of keys in the curve. (Read Only)
postWrapModeThe behaviour of the animation after the last keyframe.
preWrapModeThe behaviour of the animation before the first keyframe.
this[int]Retrieves the key at index. (Read Only)

생성자

AnimationCurveCreates an animation curve from an arbitrary number of keyframes.

Public 함수

AddKeyAdd a new key to the curve.
EvaluateEvaluate the curve at time.
MoveKeyRemoves the keyframe at index and inserts key.
RemoveKeyRemoves a key.
SmoothTangentsSmooth the in and out tangents of the keyframe at index.

정적 함수

ConstantCreates a constant "curve" starting at timeStart, ending at timeEnd and with the value value.
EaseInOutCreates an ease-in and out curve starting at timeStart, valueStart and ending at timeEnd, valueEnd.
LinearA straight Line starting at timeStart, valueStart and ending at timeEnd, valueEnd.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961