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.

Protected Fields

_started : bool
Signature
bool Oculus.Interaction.HandPokeOvershootGlow._started

Protected Methods

Awake ()
Signature
virtual void Oculus.Interaction.HandPokeOvershootGlow.Awake()
Returns
void
OnDisable ()
Signature
virtual void Oculus.Interaction.HandPokeOvershootGlow.OnDisable()
Returns
void
OnEnable ()
Signature
virtual void Oculus.Interaction.HandPokeOvershootGlow.OnEnable()
Returns
void
Start ()
Signature
virtual void Oculus.Interaction.HandPokeOvershootGlow.Start()
Returns
void

Methods

InjectAllHandPokeOvershootGlow ( hand , pokeInteractor , materialEditor , glowColor , distanceMultiplier , wristTransform , glowType )
Signature
void Oculus.Interaction.HandPokeOvershootGlow.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 Oculus.Interaction.HandPokeOvershootGlow.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 Oculus.Interaction.HandPokeOvershootGlow.InjectGlowColor(Color glowColor)
Parameters
glowColor: Color
Returns
void
InjectGlowType ( glowType )
Signature
void Oculus.Interaction.HandPokeOvershootGlow.InjectGlowType(GlowType glowType)
Parameters
glowType: GlowType
Returns
void
InjectHand ( hand )
Signature
void Oculus.Interaction.HandPokeOvershootGlow.InjectHand(IHand hand)
Parameters
hand: IHand
Returns
void
InjectHandRenderer ( handRenderer )
Signature
void Oculus.Interaction.HandPokeOvershootGlow.InjectHandRenderer(SkinnedMeshRenderer handRenderer)
Parameters
handRenderer: SkinnedMeshRenderer
Returns
void
InjectHandVisual ( handVisual )
Signature
void Oculus.Interaction.HandPokeOvershootGlow.InjectHandVisual(HandVisual handVisual)
Parameters
handVisual: HandVisual
Returns
void
InjectMaterialPropertyBlockEditor ( materialEditor )
Signature
void Oculus.Interaction.HandPokeOvershootGlow.InjectMaterialPropertyBlockEditor(MaterialPropertyBlockEditor materialEditor)
Parameters
Returns
void
InjectOvershootMaxDistance ( overshootMaxDistance )
Signature
void Oculus.Interaction.HandPokeOvershootGlow.InjectOvershootMaxDistance(float overshootMaxDistance)
Parameters
overshootMaxDistance: float
Returns
void
InjectPokeInteractor ( pokeInteractor )
Signature
void Oculus.Interaction.HandPokeOvershootGlow.InjectPokeInteractor(PokeInteractor pokeInteractor)
Parameters
pokeInteractor: PokeInteractor
Returns
void

Inner Enum

GlowType Enum

Enumeration Constants

MemberValue
Fill
30
Outline
31
Both
32