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

InteractableColorVisual Class

Extends MonoBehaviour

Protected Fields

_started : bool
Signature
bool Oculus.Interaction.InteractableColorVisual._started

Protected Methods

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

Methods

InjectAllInteractableColorVisual ( interactableView , editor )
Signature
void Oculus.Interaction.InteractableColorVisual.InjectAllInteractableColorVisual(IInteractableView interactableView, MaterialPropertyBlockEditor editor)
Parameters
Returns
void
InjectInteractableView ( interactableview )
Signature
void Oculus.Interaction.InteractableColorVisual.InjectInteractableView(IInteractableView interactableview)
Parameters
interactableview: IInteractableView
Returns
void
InjectMaterialPropertyBlockEditor ( editor )
Signature
void Oculus.Interaction.InteractableColorVisual.InjectMaterialPropertyBlockEditor(MaterialPropertyBlockEditor editor)
Parameters
Returns
void
InjectOptionalColorShaderPropertyName ( colorShaderPropertyName )
Signature
void Oculus.Interaction.InteractableColorVisual.InjectOptionalColorShaderPropertyName(string colorShaderPropertyName)
Parameters
colorShaderPropertyName: string
Returns
void
InjectOptionalHoverColorState ( hoverColorState )
Signature
void Oculus.Interaction.InteractableColorVisual.InjectOptionalHoverColorState(ColorState hoverColorState)
Parameters
hoverColorState: ColorState
Returns
void
InjectOptionalNormalColorState ( normalColorState )
Signature
void Oculus.Interaction.InteractableColorVisual.InjectOptionalNormalColorState(ColorState normalColorState)
Parameters
normalColorState: ColorState
Returns
void
InjectOptionalSelectColorState ( selectColorState )
Signature
void Oculus.Interaction.InteractableColorVisual.InjectOptionalSelectColorState(ColorState selectColorState)
Parameters
selectColorState: ColorState
Returns
void

Inner Class

ColorState Class

Fields

Color : Color
Signature
Color Oculus.Interaction.InteractableColorVisual.ColorState.Color
ColorCurve : AnimationCurve
Signature
AnimationCurve Oculus.Interaction.InteractableColorVisual.ColorState.ColorCurve
ColorTime : float
Signature
float Oculus.Interaction.InteractableColorVisual.ColorState.ColorTime