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

HandPokeOvershootGlow Class

Extends MonoBehaviour
HandPokeOvershootGlow controls the glow properties of the OculusHand material to get a glow effect when the real hand and the virtual hand are not in the same position in 3d space.
This can only happen when a synthetic hand is used and wrist locking is enabled. It generates a sphere gradient with the wrist position as the center and a 0.144 units of radius.

Member Enumerations

Enumeration GlowType

Fill
= 30
Outline
= 31
Both
= 32

Protected Fields

bool _started[Get]

Protected Functions

virtual void Awake ( )
virtual void Start ( )
virtual void OnEnable ( )
virtual void OnDisable ( )

Member Functions

void InjectAllHandPokeOvershootGlow
( IHand hand,
PokeInteractor pokeInteractor,
Color glowColor,
float distanceMultiplier,
Transform wristTransform,
GlowType glowType )
void InjectAllHandPokeOvershootGlow
( IHand hand,
PokeInteractor pokeInteractor,
HandVisual handVisual,
SkinnedMeshRenderer handRenderer,
MaterialPropertyBlockEditor materialEditor )
void InjectHand
( IHand hand )
void InjectPokeInteractor
( PokeInteractor pokeInteractor )
void InjectHandRenderer
( SkinnedMeshRenderer handRenderer )
void InjectHandVisual
( HandVisual handVisual )
void InjectMaterialPropertyBlockEditor
( MaterialPropertyBlockEditor materialEditor )
void InjectGlowColor
( Color glowColor )
void InjectOvershootMaxDistance
( float overshootMaxDistance )
void InjectGlowType
( GlowType glowType )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon