C# 클래스 LMWidgets.LeapPhysicsSpring

Base class for spring. Restrains the widget in its local z-axis. It will apply spring physics in ApplyPhysics and translate the button with hand in ApplyInteractions
상속: LeapPhysicsBase
파일 보기 프로젝트 열기: leapmotion/ImageGrid

공개 프로퍼티들

프로퍼티 타입 설명
applyCriticalDamping bool
springCoefficient UnityEngine.Vector3

보호된 메소드들

메소드 설명
ApplyInteractionConstraints ( Vector3 interactionConstraints ) : void

Applies Interaction constraints. Takes in a Vector3. If an axis has value > 0.5 then it's allowed to move. Otherwise it won't be

ApplyInteractions ( ) : void

Translate the widget with the hand during interaction

ApplyPhysics ( ) : void

Apply spring physics

Awake ( ) : void

메소드 상세

ApplyInteractionConstraints() 보호된 메소드

Applies Interaction constraints. Takes in a Vector3. If an axis has value > 0.5 then it's allowed to move. Otherwise it won't be
protected ApplyInteractionConstraints ( Vector3 interactionConstraints ) : void
interactionConstraints UnityEngine.Vector3
리턴 void

ApplyInteractions() 보호된 메소드

Translate the widget with the hand during interaction
protected ApplyInteractions ( ) : void
리턴 void

ApplyPhysics() 보호된 메소드

Apply spring physics
protected ApplyPhysics ( ) : void
리턴 void

Awake() 보호된 메소드

protected Awake ( ) : void
리턴 void

프로퍼티 상세

applyCriticalDamping 공개적으로 프로퍼티

public bool applyCriticalDamping
리턴 bool

springCoefficient 공개적으로 프로퍼티

Spring constant is separated to xyz-axis for more flexible configuration
public Vector3,UnityEngine springCoefficient
리턴 UnityEngine.Vector3