C# Class MagneticPinch

Inheritance: MonoBehaviour
Exibir arquivo Open project: leapmotion/ImageGrid

Public Properties

Property Type Description
forceSpringConstant float
magnetDistance float

Protected Properties

Property Type Description
grabbed_ Collider
pinching_ bool

Public Methods

Method Description
OnPinch ( Vector3 pinch_position ) : void
OnRelease ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

OnPinch() public method

public OnPinch ( Vector3 pinch_position ) : void
pinch_position Vector3
return void

OnRelease() public method

public OnRelease ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

forceSpringConstant public_oe property

public float forceSpringConstant
return float

grabbed_ protected_oe property

protected Collider grabbed_
return Collider

magnetDistance public_oe property

public float magnetDistance
return float

pinching_ protected_oe property

protected bool pinching_
return bool