API reference

ControllerRayVisual Class

Extends MonoBehaviour

Properties

HoverColor0 : Color
[Get][Set]
Signature
Color HoverColor0
HoverColor1 : Color
[Get][Set]
Signature
Color HoverColor1
MaxRayVisualLength : float
[Get][Set]
Signature
float MaxRayVisualLength
SelectColor0 : Color
[Get][Set]
Signature
Color SelectColor0
SelectColor1 : Color
[Get][Set]
Signature
Color SelectColor1

Protected Methods

OnDisable ()
Signature
virtual void OnDisable()
Returns
void
OnEnable ()
Signature
virtual void OnEnable()
Returns
void
Start ()
Signature
virtual void Start()
Returns
void

Methods

InjectAllControllerRayVisual ( rayInteractor , renderer , materialPropertyBlockEditor )
Signature
void InjectAllControllerRayVisual(RayInteractor rayInteractor, Renderer renderer, MaterialPropertyBlockEditor materialPropertyBlockEditor)
Parameters
rayInteractor: RayInteractor
renderer: Renderer
materialPropertyBlockEditor: MaterialPropertyBlockEditor
Returns
void
InjectMaterialPropertyBlockEditor ( materialPropertyBlockEditor )
Signature
void InjectMaterialPropertyBlockEditor(MaterialPropertyBlockEditor materialPropertyBlockEditor)
Parameters
materialPropertyBlockEditor: MaterialPropertyBlockEditor
Returns
void
InjectRayInteractor ( rayInteractor )
Signature
void InjectRayInteractor(RayInteractor rayInteractor)
Parameters
rayInteractor: RayInteractor
Returns
void
InjectRenderer ( renderer )
Signature
void InjectRenderer(Renderer renderer)
Parameters
renderer: Renderer
Returns
void