프로퍼티 | 타입 | 설명 | |
---|---|---|---|
DefaultBodyRoleHandler | HTC.UnityPlugin.Vive.BodyRoleHandler | ||
DefaultDeviceRoleHandler | HTC.UnityPlugin.Vive.DeviceRoleHandler | ||
DefaultHandRoleHandler | HTC.UnityPlugin.Vive.HandRoleHandler | ||
DefaultTrackerRoleHandler | HTC.UnityPlugin.Vive.TrackerRoleHandler |
메소드 | 설명 | |
---|---|---|
GetDeviceIndex ( DeviceRole role ) : uint |
Returns device index of the device identified by the role Returns INVALID_DEVICE_INDEX if the role doesn't assign to any device
|
|
GetDeviceIndex ( HandRole role ) : uint |
Returns device index of the device identified by the role Returns INVALID_DEVICE_INDEX if the role doesn't assign to any device
|
|
GetDeviceIndexEx ( Type type, int roleValue ) : uint | ||
GetDeviceIndexEx ( role ) : uint |
메소드 | 설명 | |
---|---|---|
GetDeviceClass ( uint deviceIndex ) : VRModuleDeviceClass | ||
GetModelNumber ( uint deviceIndex ) : string | ||
GetSerialNumber ( uint deviceIndex ) : string | ||
Initialize ( ) : void | ||
IsValidIndex ( uint index ) : bool | ||
OnDeviceConnected ( uint deviceIndex, bool connected ) : void | ||
OnTrackedDeviceRoleChanged ( ) : void | ||
TryGetDeviceIndexBySerialNumber ( string serialNumber, uint &deviceIndex ) : bool |
public static GetDeviceIndex ( DeviceRole role ) : uint | ||
role | DeviceRole | |
리턴 | uint |
public static GetDeviceIndex ( HandRole role ) : uint | ||
role | HandRole | |
리턴 | uint |
public static GetDeviceIndexEx ( Type type, int roleValue ) : uint | ||
type | Type | |
roleValue | int | |
리턴 | uint |
public static GetDeviceIndexEx ( role ) : uint | ||
role | /// TRole can be DeviceRole, TrackerRole or any other enum type that have ViveRoleEnumAttribute. /// Use ViveRole.ValidateViveRoleEnum() to validate role type /// | |
리턴 | uint |
public static BodyRoleHandler,HTC.UnityPlugin.Vive DefaultBodyRoleHandler | ||
리턴 | HTC.UnityPlugin.Vive.BodyRoleHandler |
public static DeviceRoleHandler,HTC.UnityPlugin.Vive DefaultDeviceRoleHandler | ||
리턴 | HTC.UnityPlugin.Vive.DeviceRoleHandler |
public static HandRoleHandler,HTC.UnityPlugin.Vive DefaultHandRoleHandler | ||
리턴 | HTC.UnityPlugin.Vive.HandRoleHandler |