API reference

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.

Protected Fields

_started : bool
Signature
bool _started

Protected Methods

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

Methods

InjectAllHandPokeOvershootGlow ( hand , pokeInteractor , materialEditor , glowColor , distanceMultiplier , wristTransform , glowType )
Signature
void InjectAllHandPokeOvershootGlow(IHand hand, PokeInteractor pokeInteractor, MaterialPropertyBlockEditor materialEditor, Color glowColor, float distanceMultiplier, Transform wristTransform, GlowType glowType)
Parameters
hand: IHand
pokeInteractor: PokeInteractor
glowColor: Color
distanceMultiplier: float
wristTransform: Transform
glowType: GlowType
Returns
void
InjectAllHandPokeOvershootGlow ( hand , pokeInteractor , handVisual , handRenderer , materialEditor )
Signature
void InjectAllHandPokeOvershootGlow(IHand hand, PokeInteractor pokeInteractor, HandVisual handVisual, SkinnedMeshRenderer handRenderer, MaterialPropertyBlockEditor materialEditor)
Parameters
hand: IHand
pokeInteractor: PokeInteractor
handVisual: HandVisual
handRenderer: SkinnedMeshRenderer
Returns
void
InjectGlowColor ( glowColor )
Signature
void InjectGlowColor(Color glowColor)
Parameters
glowColor: Color
Returns
void
InjectGlowType ( glowType )
Signature
void InjectGlowType(GlowType glowType)
Parameters
glowType: GlowType
Returns
void
InjectHand ( hand )
Signature
void InjectHand(IHand hand)
Parameters
hand: IHand
Returns
void
InjectHandRenderer ( handRenderer )
Signature
void InjectHandRenderer(SkinnedMeshRenderer handRenderer)
Parameters
handRenderer: SkinnedMeshRenderer
Returns
void
InjectHandVisual ( handVisual )
Signature
void InjectHandVisual(HandVisual handVisual)
Parameters
handVisual: HandVisual
Returns
void
InjectMaterialPropertyBlockEditor ( materialEditor )
Signature
void InjectMaterialPropertyBlockEditor(MaterialPropertyBlockEditor materialEditor)
Parameters
Returns
void
InjectOvershootMaxDistance ( overshootMaxDistance )
Signature
void InjectOvershootMaxDistance(float overshootMaxDistance)
Parameters
overshootMaxDistance: float
Returns
void
InjectPokeInteractor ( pokeInteractor )
Signature
void InjectPokeInteractor(PokeInteractor pokeInteractor)
Parameters
pokeInteractor: PokeInteractor
Returns
void

Inner Enum

GlowType Enum

Enumeration Constants

MemberValue
Fill
30
Outline
31
Both
32