C# Class VRInput.ViveUILaserPointer

Inheritance: VRInput.RayPointer
Afficher le fichier Open project: tvolodimir/UnityVRInput

Méthodes publiques

Свойство Type Description
Button EVRButtonId
color Color
laserHitScale float
laserThickness float

Méthodes publiques

Méthode Description
ButtonDown ( ) : bool
ButtonUp ( ) : bool
OnEnterControl ( GameObject control ) : void
OnExitControl ( GameObject control ) : void

Méthodes protégées

Méthode Description
Draw ( bool isHit, float distance ) : void
Start ( ) : void

Private Methods

Méthode Description
GetDevice ( ) : SteamVR_Controller.Device

Method Details

ButtonDown() public méthode

public ButtonDown ( ) : bool
Résultat bool

ButtonUp() public méthode

public ButtonUp ( ) : bool
Résultat bool

Draw() protected méthode

protected Draw ( bool isHit, float distance ) : void
isHit bool
distance float
Résultat void

OnEnterControl() public méthode

public OnEnterControl ( GameObject control ) : void
control GameObject
Résultat void

OnExitControl() public méthode

public OnExitControl ( GameObject control ) : void
control GameObject
Résultat void

Start() protected méthode

protected Start ( ) : void
Résultat void

Property Details

Button public_oe property

public EVRButtonId Button
Résultat EVRButtonId

color public_oe property

public Color color
Résultat Color

laserHitScale public_oe property

public float laserHitScale
Résultat float

laserThickness public_oe property

public float laserThickness
Résultat float