C# 클래스 LeapUnityHandController, lightitup

This class manipulates the hand representation in the unity scene based on the input from the leap device. Fingers and Palm objects are moved around between higher level 'hand' objects that mainly serve to organize. Be aware that when fingers are lost, unity does not dispatch OnTriggerExit events.
상속: MonoBehaviour
파일 보기 프로젝트 열기: brennon/lightitup 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
m_DisplayHands bool
m_fingers GameObject[]
m_hands GameObject[]
m_materials Material[]
m_palms GameObject[]
point Pointable

공개 메소드들

메소드 설명
GetSecondFinger ( GameObject firstFing ) : GameObject

비공개 메소드들

메소드 설명
Awake ( ) : void
EvaluateNewFinger ( Pointable finger ) : void
GetAllowableFingers ( ) : int
OnHandFound ( Hand h ) : void
OnHandLost ( int lostID ) : void
OnHandUpdated ( Hand h ) : void
OnPointableFound ( Pointable p ) : void
OnPointableLost ( int lostID ) : void
OnPointableUpdated ( Pointable p ) : void
SetCollidable ( GameObject obj, bool collidable ) : void
SetInteractionMode ( ) : void
SetVisible ( GameObject obj, bool visible ) : void
Start ( ) : void
updatePalm ( Leap leapHand, GameObject palmObject ) : void
updateParent ( GameObject child, int handId ) : void
updatePointable ( Leap pointable, GameObject fingerObject ) : void

메소드 상세

GetSecondFinger() 공개 메소드

public GetSecondFinger ( GameObject firstFing ) : GameObject
firstFing GameObject
리턴 GameObject

프로퍼티 상세

m_DisplayHands 공개적으로 프로퍼티

public bool m_DisplayHands
리턴 bool

m_fingers 공개적으로 프로퍼티

public GameObject[] m_fingers
리턴 GameObject[]

m_hands 공개적으로 프로퍼티

public GameObject[] m_hands
리턴 GameObject[]

m_materials 공개적으로 프로퍼티

public Material[] m_materials
리턴 Material[]

m_palms 공개적으로 프로퍼티

public GameObject[] m_palms
리턴 GameObject[]

point 공개적으로 정적으로 프로퍼티

public static Pointable point
리턴 Pointable