DragDetectorDragStyle
*Questo contenuto è tradotto usando AI (Beta) e potrebbe contenere errori. Per visualizzare questa pagina in inglese, clicca qui.
Utilizzato con DragDetector come paradigma per generare la moto proposta, data una serie di raggi di cursore.
Articoli
Nome | Valore | Sommario |
---|---|---|
TranslateLine | 0 | 1D movimento lungo l'asse del Axis , per impostazione predefinita il mondo Y asse. |
TranslatePlane | 1 | 2D motion in the plane perpendicular to the detector's Axis , by default the world XZ plane. |
TranslatePlaneOrLine | 2 | |
TranslateLineOrPlane | 3 | 1D movimento lungo il Axis del detector e, quando il modificatore è attivo, 2D movimento nell'aereo perpendolare all'asse del detector. |
TranslateViewPlane | 4 | 2D motion in the plane perpendicular to the Telecamera's vista. In this mode, the plane is constantly updated, even while dragging, and will always face the Telecamera's current vista. |
RotateAxis | 5 | Rotazione attorno all'asse del Axis del detector, per impostazione predefinita il mondo Y asse. |
RotateTrackball | 6 | Rotazione della palla di traccia, ulteriormente personalizzata attraverso le proprietà TrackballRadialPullFactor e TrackballRollFactor. |
Scriptable | 7 | Calcola la velocità desiderata tramite una funzione personalizzata fornita attraverso SetDragStyleFunction() . |
BestForDevice | 8 | TraducePlaneOrLine per mouse e gamepad; TraducePlane per tocco; 6DOF per VR. |