API reference

HoverSpotlightGradient Struct

Fields

Color : Color
Color of the gradient. The alpha component is used to dim the intensity.
Signature
Color Oculus.Interaction.HoverSpotlightGradient.Color
Dither : float
Gradient dither intensity.
Signature
float Oculus.Interaction.HoverSpotlightGradient.Dither
Falloff : float
Distance, in world space, where the intensity of the spotlight goes from max intensity to zero.
Signature
float Oculus.Interaction.HoverSpotlightGradient.Falloff
Power : float
Power of the gradient falloff.
Signature
float Oculus.Interaction.HoverSpotlightGradient.Power
Radius : float
Distance, in world space coords, where the intensity of the spotlight starts falling off.
Signature
float Oculus.Interaction.HoverSpotlightGradient.Radius

Methods

ApplyToPropertyBlock ( block )
Signature
void Oculus.Interaction.HoverSpotlightGradient.ApplyToPropertyBlock(MaterialPropertyBlock block)
Parameters
block: MaterialPropertyBlock
Returns
void