배우기
엔진 클래스
DragDetector

*이 콘텐츠는 AI(베타)를 사용해 번역되었으며, 오류가 있을 수 있습니다. 이 페이지를 영어로 보려면 여기를 클릭하세요.



API 참조
속성
ActivatedCursorIcon
병렬 읽기
기능: Physics, Input
DragDetector.ActivatedCursorIcon:ContentId

ActivatedCursorIconContent
병렬 읽기
기능: Physics, Input
DragDetector.ActivatedCursorIconContent:Content

ApplyAtCenterOfMass
병렬 읽기
기능: Physics, Input
DragDetector.ApplyAtCenterOfMass:boolean

Axis
복제되지 않음
병렬 읽기
기능: Physics, Input
DragDetector.Axis:Vector3

DragFrame
병렬 읽기
기능: Physics, Input
DragDetector.DragFrame:CFrame

DragStyle
병렬 읽기
기능: Physics, Input
DragDetector.DragStyle:Enum.DragDetectorDragStyle

Enabled
병렬 읽기
기능: Physics, Input
DragDetector.Enabled:boolean

GamepadModeSwitchKeyCode
병렬 읽기
기능: Physics, Input
DragDetector.GamepadModeSwitchKeyCode:Enum.KeyCode

KeyboardModeSwitchKeyCode
병렬 읽기
기능: Physics, Input
DragDetector.KeyboardModeSwitchKeyCode:Enum.KeyCode

MaxDragAngle
병렬 읽기
기능: Physics, Input
DragDetector.MaxDragAngle:number

MaxDragTranslation
병렬 읽기
기능: Physics, Input
DragDetector.MaxDragTranslation:Vector3

MaxForce
병렬 읽기
기능: Physics, Input
DragDetector.MaxForce:number

MaxTorque
병렬 읽기
기능: Physics, Input
DragDetector.MaxTorque:number

MinDragAngle
병렬 읽기
기능: Physics, Input
DragDetector.MinDragAngle:number

MinDragTranslation
병렬 읽기
기능: Physics, Input
DragDetector.MinDragTranslation:Vector3

Orientation
병렬 읽기
기능: Physics, Input
DragDetector.Orientation:Vector3

PermissionPolicy
병렬 읽기
기능: Physics, Input
DragDetector.PermissionPolicy:Enum.DragDetectorPermissionPolicy

ReferenceInstance
병렬 읽기
기능: Physics, Input
DragDetector.ReferenceInstance:Instance

ResponseStyle
병렬 읽기
기능: Physics, Input
DragDetector.ResponseStyle:Enum.DragDetectorResponseStyle

Responsiveness
병렬 읽기
기능: Physics, Input
DragDetector.Responsiveness:number

RunLocally
병렬 읽기
기능: Physics, Input
DragDetector.RunLocally:boolean

SecondaryAxis
복제되지 않음
병렬 읽기
기능: Physics, Input
DragDetector.SecondaryAxis:Vector3

TrackballRadialPullFactor
병렬 읽기
기능: Physics, Input
DragDetector.TrackballRadialPullFactor:number

TrackballRollFactor
병렬 읽기
기능: Physics, Input
DragDetector.TrackballRollFactor:number

VRSwitchKeyCode
병렬 읽기
기능: Physics, Input
DragDetector.VRSwitchKeyCode:Enum.KeyCode

WorldAxis
복제되지 않음
병렬 읽기
기능: Physics, Input
DragDetector.WorldAxis:Vector3

WorldSecondaryAxis
복제되지 않음
병렬 읽기
기능: Physics, Input
DragDetector.WorldSecondaryAxis:Vector3

메서드
AddConstraintFunction
기능: Physics, Input
DragDetector:AddConstraintFunction(
priority:number, function:function
매개 변수
priority:number
function:function

GetReferenceFrame
기능: Physics, Input
DragDetector:GetReferenceFrame():CFrame
반환

RestartDrag
기능: Physics, Input
DragDetector:RestartDrag():()
반환
()

SetDragStyleFunction
기능: Physics, Input
DragDetector:SetDragStyleFunction(function:function):()
매개 변수
function:function
반환
()

SetPermissionPolicyFunction
기능: Physics, Input
DragDetector:SetPermissionPolicyFunction(function:function):()
매개 변수
function:function
반환
()

이벤트
DragContinue
기능: Physics, Input
DragDetector.DragContinue(
playerWhoDragged:Player, cursorRay:Ray, viewFrame:CFrame, vrInputFrame:OptionalCoordinateFrame, isModeSwitchKeyDown:boolean
매개 변수
playerWhoDragged:Player
cursorRay:Ray
viewFrame:CFrame
vrInputFrame:OptionalCoordinateFrame
isModeSwitchKeyDown:boolean

DragEnd
기능: Physics, Input
DragDetector.DragEnd(playerWhoDragged:Player):RBXScriptSignal
매개 변수
playerWhoDragged:Player

DragStart
기능: Physics, Input
DragDetector.DragStart(
playerWhoDragged:Player, cursorRay:Ray, viewFrame:CFrame, hitFrame:CFrame, clickedPart:BasePart, vrInputFrame:OptionalCoordinateFrame, isModeSwitchKeyDown:boolean
매개 변수
playerWhoDragged:Player
cursorRay:Ray
viewFrame:CFrame
hitFrame:CFrame
clickedPart:BasePart
vrInputFrame:OptionalCoordinateFrame
isModeSwitchKeyDown:boolean

©2026 Roblox Corporation. Roblox 및 Roblox 로고, 'Powering Imagination'은 미국 및 기타 국가 내 당사의 등록 및 미등록 상표입니다.