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

HandRayPinchGlow Class

Extends MonoBehaviour
HandRayPinchGlow controls the glow properties of the OculusHand material to get a glow effect when the user is using Pinch Ray.

Protected Fields

_started : bool
Signature
bool Oculus.Interaction.HandRayPinchGlow._started

Protected Methods

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

Methods

InjectAllHandRayPinchGlow ( hand , interactor , materialEditor , color , glowType )
Signature
void Oculus.Interaction.HandRayPinchGlow.InjectAllHandRayPinchGlow(IHand hand, RayInteractor interactor, MaterialPropertyBlockEditor materialEditor, Color color, GlowType glowType)
Parameters
hand: IHand
interactor: RayInteractor
color: Color
glowType: GlowType
Returns
void
InjectGlowColor ( color )
Signature
void Oculus.Interaction.HandRayPinchGlow.InjectGlowColor(Color color)
Parameters
color: Color
Returns
void
InjectGlowType ( glowType )
Signature
void Oculus.Interaction.HandRayPinchGlow.InjectGlowType(GlowType glowType)
Parameters
glowType: GlowType
Returns
void
InjectHand ( hand )
Signature
void Oculus.Interaction.HandRayPinchGlow.InjectHand(IHand hand)
Parameters
hand: IHand
Returns
void
InjectMaterialPropertyBlockEditor ( materialEditor )
Signature
void Oculus.Interaction.HandRayPinchGlow.InjectMaterialPropertyBlockEditor(MaterialPropertyBlockEditor materialEditor)
Parameters
Returns
void
InjectRayInteractor ( interactor )
Signature
void Oculus.Interaction.HandRayPinchGlow.InjectRayInteractor(RayInteractor interactor)
Parameters
interactor: RayInteractor
Returns
void

Inner Enum

GlowType Enum

Enumeration Constants

MemberValue
Fill
17
Outline
18
Both
16