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 _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

InjectAllHandRayPinchGlow ( hand , interactor , materialEditor , color , glowType )
Signature
void 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 InjectGlowColor(Color color)
Parameters
color: 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
InjectMaterialPropertyBlockEditor ( materialEditor )
Signature
void InjectMaterialPropertyBlockEditor(MaterialPropertyBlockEditor materialEditor)
Parameters
Returns
void
InjectRayInteractor ( interactor )
Signature
void InjectRayInteractor(RayInteractor interactor)
Parameters
interactor: RayInteractor
Returns
void

Inner Enum

GlowType Enum

Enumeration Constants

MemberValue
Fill
17
Outline
18
Both
16