UIDragDetectorDragStyle列挙型(Enum)
列挙型(Enum)日本語解説は準備中
ひとことで言うと
UIDragDetectorDragStyleは、ロブロックス(Roblox)の列挙型(Enum)です。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Used with UIDragDetector as the paradigm to generate proposed motion, given a stream of input position vectors.
選べる値(4)
| 名前 | 値 | 説明 |
|---|---|---|
Enum.UIDragDetectorDragStyle.TranslatePlane | 0 | 2D motion in the plane of the LayerCollector. |
Enum.UIDragDetectorDragStyle.TranslateLine | 1 | 1D motion along the detector's Class.UIDragDetector.DragAxis|DragAxis. |
Enum.UIDragDetectorDragStyle.Rotate | 2 | By default, rotation about the absolute center position of the detector's parent GuiObject. If Class.UIDragDetector.ReferenceUIInstance|ReferenceUIInstance is set, rotation happens about that instance's absolute center position. |
Enum.UIDragDetectorDragStyle.Scriptable | 3 | Calculates desired motion via a custom function provided through Class.UIDragDetector:SetDragStyleFunction()|SetDragStyleFunction(). |
英語の説明とメンバーの一覧は、Roblox Creator Documentation(UIDragDetectorDragStyle)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。