C# 클래스 LeapUnityBridge, lightitup

Attach one of these to one of the objects in your scene to use Leap input. It will take care of calling update on LeapInput and create hand objects to represent the hand data in the scene using LeapUnityHandController. It has a number of public fields so you can easily set the values from the Unity inspector. Hands will
상속: MonoBehaviour
파일 보기 프로젝트 열기: brennon/lightitup 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
m_FingerTemplate GameObject
m_InputParent GameObject
m_LeapOffset Vector3
m_LeapScaling Vector3
m_PalmTemplate GameObject
m_PrimaryHandMaterial Material
m_SecondaryHandMaterial Material
m_ShowInspectorFingers bool
m_UnknownHandMaterial Material
m_UseFixedUpdate bool

공개 메소드들

메소드 설명
Awake ( ) : void
FixedUpdate ( ) : void
OnDestroy ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
CreateFinger ( GameObject parent, int index ) : GameObject
CreateHand ( GameObject parent, int index ) : GameObject
CreatePalm ( GameObject parent, int index ) : GameObject
CreateSceneHands ( ) : void

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

FixedUpdate() 공개 메소드

public FixedUpdate ( ) : void
리턴 void

OnDestroy() 공개 메소드

public OnDestroy ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

m_FingerTemplate 공개적으로 프로퍼티

public GameObject m_FingerTemplate
리턴 GameObject

m_InputParent 공개적으로 프로퍼티

public GameObject m_InputParent
리턴 GameObject

m_LeapOffset 공개적으로 프로퍼티

public Vector3 m_LeapOffset
리턴 Vector3

m_LeapScaling 공개적으로 프로퍼티

These values, set from the Inspector, set the corresponding fields in the LeapUnityExtension for translating vectors.
public Vector3 m_LeapScaling
리턴 Vector3

m_PalmTemplate 공개적으로 프로퍼티

public GameObject m_PalmTemplate
리턴 GameObject

m_PrimaryHandMaterial 공개적으로 프로퍼티

The materials to use for the different hands.
public Material m_PrimaryHandMaterial
리턴 Material

m_SecondaryHandMaterial 공개적으로 프로퍼티

public Material m_SecondaryHandMaterial
리턴 Material

m_ShowInspectorFingers 공개적으로 프로퍼티

public bool m_ShowInspectorFingers
리턴 bool

m_UnknownHandMaterial 공개적으로 프로퍼티

public Material m_UnknownHandMaterial
리턴 Material

m_UseFixedUpdate 공개적으로 프로퍼티

public bool m_UseFixedUpdate
리턴 bool