Class OrbitModifier3D
The OrbitModifier3D provides the behaviour of orbit (rotation around camera target)
Inheritance
OrbitModifier3D
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class OrbitModifier3D extends GestureModifierBase3D
Constructors
OrbitModifier3D()
Declaration
public OrbitModifier3D()
Methods
getDegreesPerPixelSensitivity()
Gets the number of degrees (angle) to orbit the target for each pixel.
Declaration
public final float getDegreesPerPixelSensitivity()
Returns
| Type | Description |
|---|---|
| float | Current |
getExecuteOnPointerCount()
Sets pointer count to use with this modifier (e.g. 1, 2 or more fingers)
Declaration
public final int getExecuteOnPointerCount()
Returns
| Type | Description |
|---|---|
| int | The current pointer to use |
onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY)
Declaration
public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY)
Parameters
| Type | Name | Description |
|---|---|---|
| android.view.MotionEvent | e1 | |
| android.view.MotionEvent | e2 | |
| float | distanceX | |
| float | distanceY |
Returns
| Type | Description |
|---|---|
| boolean |
Overrides
setDegreesPerPixelSensitivity(float degreesPerPixelSensitivity)
Sets the number of degrees (angle) to orbit the target for each pixel.
Declaration
public final void setDegreesPerPixelSensitivity(float degreesPerPixelSensitivity)
Parameters
| Type | Name | Description |
|---|---|---|
| float | degreesPerPixelSensitivity | The new |
setExecuteOnPointerCount(int executeOnPointerCount)
Sets pointer count to use with this modifier (e.g. 1, 2 or more fingers)
Declaration
public final void setExecuteOnPointerCount(int executeOnPointerCount)
Parameters
| Type | Name | Description |
|---|---|---|
| int | executeOnPointerCount | The new pointer count to use |