xr-frame / Exports / IShapeDragEvent

# Interface: IShapeDragEvent

drag-shape事件的回调参数。

# Hierarchy

# Table of contents

# Properties

# Properties

# camera

camera: Camera

渲染*被选中的轮廓*的相机。

# Inherited from

IShapeTouchEvent.camera


# deltaX

deltaX: number

点击位置在二维canvas中的x坐标的变化量。


# deltaY

deltaY: number

点击位置在二维canvas中的y坐标的变化量。


# dir

dir: [number, number, number]

camera投射出的射线的单位向量。

# Inherited from

IShapeTouchEvent.dir


# force

force: number

unimplemented

# Inherited from

IShapeTouchEvent.force


# origin

origin: [number, number, number]

camera在三维场景中的位置。

# Inherited from

IShapeTouchEvent.origin


# shape

shape: Shape<any>

被选中的轮廓

# Inherited from

IShapeTouchEvent.shape


# target

target: Element

*被选中的轮廓*所在的元素。

# Inherited from

IShapeTouchEvent.target


# x

x: number

点击位置在二维canvas中的x坐标。

# Inherited from

IShapeTouchEvent.x


# y

y: number

点击位置在二维canvas中的y坐标。

# Inherited from

IShapeTouchEvent.y