C# Class VRInput.ViveUILaserPointer

Inheritance: VRInput.RayPointer
Show file Open project: tvolodimir/UnityVRInput

Public Properties

Property Type Description
Button EVRButtonId
color Color
laserHitScale float
laserThickness float

Public Methods

Method Description
ButtonDown ( ) : bool
ButtonUp ( ) : bool
OnEnterControl ( GameObject control ) : void
OnExitControl ( GameObject control ) : void

Protected Methods

Method Description
Draw ( bool isHit, float distance ) : void
Start ( ) : void

Private Methods

Method Description
GetDevice ( ) : SteamVR_Controller.Device

Method Details

ButtonDown() public method

public ButtonDown ( ) : bool
return bool

ButtonUp() public method

public ButtonUp ( ) : bool
return bool

Draw() protected method

protected Draw ( bool isHit, float distance ) : void
isHit bool
distance float
return void

OnEnterControl() public method

public OnEnterControl ( GameObject control ) : void
control GameObject
return void

OnExitControl() public method

public OnExitControl ( GameObject control ) : void
control GameObject
return void

Start() protected method

protected Start ( ) : void
return void

Property Details

Button public property

public EVRButtonId Button
return EVRButtonId

color public property

public Color color
return Color

laserHitScale public property

public float laserHitScale
return float

laserThickness public property

public float laserThickness
return float