... | ... | @@ -13,10 +13,61 @@ The ***Hand Tracking Component*** builds on top of the ***Oculus Hand Component* |
|
|
| CollisionSphereRadius | Float | The grab feature of the hand will take care of auto-spawning a sphere collision for the hand used internally to grab other actors. This is the radius of the sphere spawned. |
|
|
|
| OffsetAxis | EHandTrackingAxis | In which direction should we offset the grab sphere spawned for this hand? |
|
|
|
| CollisionOffset | Float | This is the sphere collision offset applied to the offset axis. |
|
|
|
| LaserPointerEnabled | Boolean | Should this hand auto-spawn for you a laser pointer you can use with widgets and objects that implement a pinchable or selectable interface. |
|
|
|
| Grab | Event Dispatcher | The on grab event called anytime a grab is registered. |
|
|
|
| Release | Event Dispatcher | The on release event called anytime a release is registered. |
|
|
|
| Grab Success | Event Dispatcher | This event dispatcher gets called if the grab was successful and we have actually grabbed an actor. |
|
|
|
| Release Success | Event Dispatcher | This event dispatcher gets called if the release was successful and we have actually released an actor. |
|
|
|
| LaserPointerEnabled | Boolean | Should this hand auto-spawn for you a laser pointer you can use with widgets and objects that implement a pinchable or selectable interface. |
|
|
|
| LaserPointerProperties | FLaserPointerProperties | These are the properties of the laser pointer spanwed. |
|
|
|
| IsPrimaryPinchEnabled? | Boolean | Should the physical primary pinch be enabled on this component? |
|
|
|
| PrimaryPinchCollisionSize | Float | The size of the collision to detect the primary pinch on objects. This size is used to set a box component X and Y box extent values. To visualise what the final box component looks like enable the draw debug property in the Debugging section. |
|
|
|
| Is Secondary Pinch Enabled? | Boolean | Should the physical secondary pinch be enabled on this component? |
|
|
|
| SecondaryPinchCollisionSize || Float | The size of the collision to detect the primary pinch on objects. This size is used to set a box component X and Y box extent values. To visualise what the final box component looks like enable the draw debug property in the Debugging section. |
|
|
|
|
|
|
</details>
|
|
|
|
|
|
### Functions/Methods
|
|
|
<details><summary>Expand</summary>
|
|
|
|
|
|
#### EnableLaserPointer
|
|
|
Enable the laser pointer.
|
|
|
|
|
|
#### DisableLaserPointer
|
|
|
Disable the laser pointer. This can be used in combination with other functions that alter the laser pointer look and behaviour such as SetLaserPointerLength.
|
|
|
|
|
|
#### SetLaserPointerLength
|
|
|
Set the laser pointer length. Only works if the laser pointer has been disabled.
|
|
|
|
|
|
| Parameter | Type | Tooltip |
|
|
|
| ------ | ------ | ------ |
|
|
|
| Length | Float | The length of the laser pointer. |
|
|
|
|
|
|
#### GetLaserPointerDirection
|
|
|
Returns the laser pointer direction in world space.
|
|
|
|
|
|
| Parameter | Type | Tooltip |
|
|
|
| ------ | ------ | ------ |
|
|
|
| Return | Boolean | The laser pointer direction. |
|
|
|
|
|
|
#### GetLaserPointerEnd
|
|
|
Returns the laser pointer end location in world space.
|
|
|
|
|
|
| Parameter | Type | Tooltip |
|
|
|
| ------ | ------ | ------ |
|
|
|
| Return | Boolean | The laser pointer end location. |
|
|
|
|
|
|
#### LaserPointerForcePointAtActor
|
|
|
Forces the laser pointer to point at a specific actor.
|
|
|
|
|
|
| Parameter | Type | Tooltip |
|
|
|
| ------ | ------ | ------ |
|
|
|
| InTargetActor | Actor | The target actor. |
|
|
|
|
|
|
#### GetHand
|
|
|
Get the hand of this hand tracking component,
|
|
|
|
|
|
| Parameter | Type | Tooltip |
|
|
|
| ------ | ------ | ------ |
|
|
|
| Return | Boolean | The hand of this hand tracking component. Left or right. |
|
|
|
|
|
|
</details> |