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

NomeValoreSommario
TranslateLine0

1D movimento lungo l'asse del Axis , per impostazione predefinita il mondo Y asse.

TranslatePlane1

2D motion in the plane perpendicular to the detector's Axis , by default the world XZ plane.

TranslatePlaneOrLine2

2D motion in the plane perpendicolare al dettagliatore del detector's Axis e, quando il modificatore è attivo, 1D motion lungo il dettagliatore del detector's Axis .

TranslateLineOrPlane3

1D movimento lungo il Axis del detector e, quando il modificatore è attivo, 2D movimento nell'aereo perpendolare all'asse del detector.

TranslateViewPlane4

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.

RotateAxis5

Rotazione attorno all'asse del Axis del detector, per impostazione predefinita il mondo Y asse.

RotateTrackball6

Rotazione della palla di traccia, ulteriormente personalizzata attraverso le proprietà TrackballRadialPullFactor e TrackballRollFactor.

Scriptable7

Calcola la velocità desiderata tramite una funzione personalizzata fornita attraverso SetDragStyleFunction() .

BestForDevice8

TraducePlaneOrLine per mouse e gamepad; TraducePlane per tocco; 6DOF per VR.

Su questa pagina