C# Class LMWidgets.DialModeBase

Inheritance: UnityEngine.MonoBehaviour
Exibir arquivo Open project: leapmotion/ImageGrid Class Usage Examples

Public Properties

Property Type Description
dialGraphics DialGraphics
steps int

Protected Methods

Method Description
ApplyConstraints ( ) : void
ApplyRotations ( ) : void
MinAngleToZero ( float angle ) : float
RestrictAngle ( float setAngle ) : float
RestrictStep ( float setAngle ) : int
SnapToStep ( ) : void

Private Methods

Method Description
Awake ( ) : void
EndInteraction ( ) : void
FixedUpdate ( ) : void
IsHand ( Collider other ) : bool
OnDisable ( ) : void
OnEnable ( ) : void
OnTriggerEnter ( Collider other ) : void
OnTriggerExit ( Collider other ) : void

Method Details

ApplyConstraints() protected method

protected ApplyConstraints ( ) : void
return void

ApplyRotations() protected method

protected ApplyRotations ( ) : void
return void

MinAngleToZero() protected method

protected MinAngleToZero ( float angle ) : float
angle float
return float

RestrictAngle() protected method

protected RestrictAngle ( float setAngle ) : float
setAngle float
return float

RestrictStep() protected method

protected RestrictStep ( float setAngle ) : int
setAngle float
return int

SnapToStep() protected method

protected SnapToStep ( ) : void
return void

Property Details

dialGraphics public_oe property

public DialGraphics dialGraphics
return DialGraphics

steps public_oe property

public int steps
return int