API reference
API reference
Select your platform
No SDKs available
No versions available

HandFingerMaskGenerator Class

HandFingerMaskGenerator creates a finger mask from the hand model currently used (check diff that added this script) It projects the hand model into a 2d space using the object space positions of the hand model and line positions using the hand visual Joint Poses.

Static Methods

GenerateFingerMask ( handRenderer , handVisual , materialPropertyBlock )
Signature
static void Oculus.Interaction.HandFingerMaskGenerator.GenerateFingerMask(SkinnedMeshRenderer handRenderer, HandVisual handVisual, MaterialPropertyBlock materialPropertyBlock)
Parameters
handRenderer: SkinnedMeshRenderer
handVisual: HandVisual
materialPropertyBlock: MaterialPropertyBlock
Returns
void