# RotationCurve(ロブロックス クラス) > Represents a sequence of rotations and the interpolation curve between them. - URL:https://roblox.minecraft-okinawa.com/reference/classes/RotationCurve/ - 公式:https://create.roblox.com/docs/reference/engine/classes/RotationCurve - 受け継いでいるクラス:Instance ## プロパティ - `RotationCurve.Length: int`:Number of rotation keys in this curve. ## メソッド - `RotationCurve:GetKeyAtIndex(index: int): RotationCurveKey`:Returns a copy of a key at a given index. - `RotationCurve:GetKeyIndicesAtTime(time: float): Array`:Returns the index of the last and first key of a period of time. - `RotationCurve:GetKeys(): Array`:Returns a copy of all the keys in the rotation curve as a Luau array of Datatype.RotationCurveKey|RotationCurveKeys. - `RotationCurve:GetValueAtTime(time: float): CFrame?`:Samples the rotation curve at a given time and returns the corresponding rotation as a CFrame. - `RotationCurve:InsertKey(key: RotationCurveKey): Array`:Adds the key passed as an argument to this curve. If a key at the same time is found, it will be replaced. - `RotationCurve:RemoveKeyAtIndex(startingIndex: int, count: int): int`:Removes a given number of keys starting from a given index. - `RotationCurve:SetKeys(keys: Array): int`:Resets this curve's keys using the RotationCurveKey array passed as an argument. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)