C# Class VRInput.ViveUILaserPointer

Inheritance: VRInput.RayPointer
显示文件 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_oe property

public EVRButtonId Button
return EVRButtonId

color public_oe property

public Color color
return Color

laserHitScale public_oe property

public float laserHitScale
return float

laserThickness public_oe property

public float laserThickness
return float