Метод | Описание | |
---|---|---|
GLArcBall ( ) : System | ||
GetRotationMatrix ( ) : Matrix4 | ||
OnBeginDrag ( float x, float y ) : void |
Call when the user begins to change orientation.
|
|
OnMove ( float x, float y ) : void |
Call when mouse is moved.
|
|
OnStopDrag ( ) : void | ||
Reset ( ) : void | ||
SetNowQuat ( Quaternion q ) : void | ||
SetWindow ( float width, float height ) : void |
Метод | Описание | |
---|---|---|
QuatFromBallPoints ( Vector3 from, Vector3 to ) : Quaternion | ||
ScreenToVector ( float screentPointX, float screenPointY ) : Vector3 |
public OnBeginDrag ( float x, float y ) : void | ||
x | float | Actual position. Not delta. |
y | float | Acutal position. Not delta. |
Результат | void |
public OnMove ( float x, float y ) : void | ||
x | float | Actual position. Not delta. |
y | float | Actual position. Not delta. |
Результат | void |
public SetWindow ( float width, float height ) : void | ||
width | float | |
height | float | |
Результат | void |