Inherits MonoBehaviour.
|
void | CheckHandConnection () |
|
void | ThrowIBAPI (InteractBase grabItem, AttachObj oldAttach, Vector3 ve, Vector3 ave, bool clientLocalThrow=false) |
|
void | ServerReceiveThrowMsg (InteractBase grabItem, AttachObj oldAttach, Vector3 ve, Vector3 ave, Vector3? ibve, Vector3? ibave, double rtt) |
|
Vector3 | GetLocalHandOffset () |
|
Vector3 | GetTrackerLocalPos () |
|
void | HandImpact (float sec=0.4f) |
|
int | GetHandIndex () |
|
bool | IsRightHand () |
|
InteractHand | GetAnotherHand () |
|
Vector3 | GetHandHeadOffset () |
|
Vector3 | GetTearVec () |
|
Vector3 | GetArmTargetOffset () |
|
bool | IsSketchAway () |
|
Vector3 | GetHandHoldOffset () |
|
void | SetHandOffsetOnPlatform (Vector3 offset, Vector3 rotateDir, float rotateAngle) |
|
bool | IsTriggering () |
|
bool | IsBan () |
|
void | Ban (bool b) |
|
bool | OnlyUI () |
|
void | SetOnlyUI (bool onlyUI) |
|
AttachObj | GetLatestLegalAttachObj (InteractHand hand) |
|
bool | CheckAttachLegal (InteractHand hand, AttachObj att) |
|
bool | CheckAttachLegalToCallback (AttachObj att) |
|
void | SetAttachHint (AttachObj att) |
|
void | Grab (AttachObj attach, bool localGrab=false) |
|
void | EnableArm (bool en) |
|
bool | IsReadyForGrab () |
|
bool | IsCalling () |
|
void | CallAndGrab (AttachObj attach, float sec) |
|
Rigidbody | GetFingerGrabObj () |
|
void | SetFingerGrabObj (Rigidbody fb) |
|
void | SetFingerGrabRBJoint (ConfigurableJoint j) |
|
bool | IsGrabbing () |
|
bool | FreeGrab () |
|
bool | IsUpdatingFingerPose () |
|
void | UpdateFingerPoseForAWhile (float sec=0.3f, float interval=0.1f) |
|
void | StopUpdateFingerPose () |
|
void | BuildFingerGrab (Rigidbody grabRB, bool localGrab=false) |
|
void | ReleaseFingerGrab (bool localRelease=false) |
|
void | NetworkResetArmTarget (Vector3 localPos, Quaternion localRot) |
|
Vector3 | GetThumbDir () |
|
Vector3 | GetIndexDir () |
|
Vector3 | GetHandDirection () |
|
Vector3 | GetPalmDir () |
|
Vector3 | GetGrabDir () |
|
bool | CheckPopOut (InteractBase grabItem) |
|
void | CheckOverlapOnGrabChanged (InteractBase grabItem, bool grabbed) |
|
void | CheckOverlapOnSlotChanged (SlotTrigger slot, bool install) |
|
bool | IsTriggerSlotEquiped () |
|
bool | IsTriggerSlotTriggering () |
|
bool | CanSlotTrigger () |
|
void | DoSlotTrigger (bool t, bool local=false) |
|
void | Init () |
|
void | InitJointFollow () |
|
void | SetControlType (VRTKInputDevice.ControllerType type) |
|
VRTKInputDevice.ControllerType | GetControlType () |
|
bool | IsUndefineController () |
|
string | GetControlDeviceType () |
|
string | GetControlDeviceTypePostfix () |
|
bool | IsTouchGripBase () |
|
bool | IsSimuatingTouchPad () |
|
bool | IsTouchPadBase () |
|
bool | IsHoldToGrab () |
|
bool | CheckGrab () |
|
void | CheckDevice (bool forceUpdate=false) |
|
void | ResetInputs () |
|
void | HapticPulse (float strength=0.5f) |
|
void | HapticPulse (AnimationCurve curve, float sec, float strengthLv=1) |
|
Renderer[] | GetGloveRenderers () |
|
void | LerpGloveColor (Color c, float lerpTime) |
|
void | SetGloveColor (Color color) |
|
void | ToggleGloveColor () |
|
void | ShakeGlove (float len) |
|
void | StopGloveShake () |
|
bool | IsChargedAttack () |
|
|
System.Action< bool, bool > | networkTriggerEvent |
|
System.Action< bool, bool > | networkSlotTrigger |
|
System.Action< int, int, bool, bool, Vector3?, Quaternion?, Vector3?, Vector3?, Quaternion?> | networkGrabEvent |
|
System.Action< bool > | networkReleaseGrabEvent |
|
System.Action< int, int, bool, bool, Vector3?, Quaternion?, Vector3?, Vector3?, Quaternion?> | C2SGrabEvent |
|
System.Action< int, int, float, bool > | C2SCallAndGrabEvent |
|
System.Action< bool, int, int, Vector3, Vector3, Vector3?, Vector3?, double > | C2SThrowWeaponEvent |
|
System.Action< bool, int, int, int, Vector3?, Quaternion?, Vector3?, Vector3?, Quaternion?> | C2SMountEvent |
|
System.Action< bool, int, int > | C2SMountOthersEvent |
|
System.Action< bool, uint, int, Vector3, Quaternion, Vector3, Quaternion > | C2SBuildGrabEvent |
|
System.Action< bool > | C2SReleaseGrabEvent |
|
bool | IsServer = true |
|
System.Action< int > | InputBtnsInitEvent |
|
System.Action< int > | ResetInputsEvent |
|
bool | isInit = false |
|
uint | netId = 0 |
|
bool | clientLocalLastRpcGrab = false |
|
int | handId = -1 |
|
InteractCharacter | character |
|
Transform | snapObj |
|
bool | linkToDevice = false |
|
RootMotion.FinalIK.IKSolverVR.Arm | armIK |
|
Transform | handTarget |
|
List< InteractBase > | recentlyThrowList = new List<InteractBase>() |
|
VelocityCalculator | velocityEstimator = new VelocityCalculator() |
|
VRTKHandTracker | handTracker |
|
GameObject | uiAimer |
|
AimWidget | aimWidget |
|
WhooshSoundController | soundController |
|
SlotTrigger | mountHint |
|
Transform | trans |
|
Transform | selfTrans |
|
ConfigurableJoint | grabJoint |
|
AttachObj | attachTo |
|
AttachObj | attachHint |
|
bool | needCheckStretch = false |
|
System.Action< Rigidbody, bool > | FingerGrabEvent |
|
Vector3 | fingerGrabEul |
|
PhysicsHand | physicsHand |
|
Transform | followTarget |
|
HandPoseControl | handPoseControl |
|
Transform | handDir |
|
SlotTrigger[] | triggerSlots |
|
VRTKInputDevice | inputDevice |
|
Dictionary< VRTKInputButton.ButtonType, VRTKInputButton > | inputs = new Dictionary<VRTKInputButton.ButtonType, VRTKInputButton>() |
|
Color | gloveLightColor = new Color(0.943f, 0.952f, 0.588f) |
|
Color | gloveDefaultColor = Color.black |
|
|
const float | HAND_SPEED_FAST = 2.6f |
|
const float | HAND_SPEED_HIGHEST = 6 |
|
const float | HAND_CALL_CLOSE_DIS = 0.15f |
|
const float | HAND_CALL_CLOSE_DIS_SQRT = HAND_CALL_CLOSE_DIS* HAND_CALL_CLOSE_DIS |
|
const float | HAND_CALL_AWAY_DIS = 0.5f |
|
const float | HAND_CALL_AWAY_DIS_SQRT = HAND_CALL_AWAY_DIS * HAND_CALL_AWAY_DIS |
|
const float | GRAB_DIS = 0.2f |
|
const float | GRAB_DIS_SQRT = GRAB_DIS * GRAB_DIS |
|
const float | FREE_GRAB_DIS = 0.05f |
|
const float | FREE_GRAB_DIS_SQRT = FREE_GRAB_DIS * FREE_GRAB_DIS |
|
static int | IsCheckUI = 0 |
|
const float | CallbackTime = 0.3f |
|
const string | ControlDevice_Knuckle = "Knuckle" |
|
const string | ControlDevice_Oculus = "Oculus" |
|
const string | ControlDevice_WMR = "WMR" |
|
const string | ControlDevice_Vive = "Vive" |
|
const string | ControlDevice_Pico = "Pico" |
|
const string | ControlDevice_PSVR2 = "PSVR2" |
|
const string | ControlDevice_Default = ControlDevice_Vive |
|
const string | ControlDevice_Postfix_Knuckle = "_Knuckle" |
|
const string | ControlDevice_Postfix_Oculus = "_Oculus" |
|
const string | ControlDevice_Postfix_WMR = "_WMR" |
|
const string | ControlDevice_Postfix_Vive = "_Vive" |
|
const string | ControlDevice_Postfix_Pico = "_Pico" |
|
const string | ControlDevice_Postfix_PSVR2 = "_PSVR2" |
|
const string | ControlDevice_Postfix_Default = ControlDevice_Vive |
|