@xtctwins/tctwins-core 1.1.15 → 1.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -117,7 +117,22 @@ export declare class CameraControl extends Component {
|
|
|
117
117
|
*/
|
|
118
118
|
on(event: "doublePickedNothing", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
|
|
119
119
|
|
|
120
|
+
/**
|
|
121
|
+
* Event fired when we left-click (press and release without dragging) on the surface of an Entity.
|
|
122
|
+
* Dragging to rotate or pan the Camera does not fire this event.
|
|
123
|
+
* @param event The mouseDownEntity event
|
|
124
|
+
* @param callback Called fired on the event
|
|
125
|
+
* @param scope Scope for the callback
|
|
126
|
+
*/
|
|
120
127
|
on(event: "mouseDownEntity", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Event fired when we left-click (press and release without dragging) on empty space.
|
|
131
|
+
* Dragging to rotate or pan the Camera does not fire this event.
|
|
132
|
+
* @param event The mouseDownNothing event
|
|
133
|
+
* @param callback Called fired on the event
|
|
134
|
+
* @param scope Scope for the callback
|
|
135
|
+
*/
|
|
121
136
|
on(event: "mouseDownNothing", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
|
|
122
137
|
on(event: "touchPicked", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
|
|
123
138
|
on(event: "touchPickedSurface", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
|