UxrFirearmWeapon.SetTriggerPressed Method

Sets the trigger pressed value.

Namespace: UltimateXR.Mechanics.Weapons
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public void SetTriggerPressed(
	int triggerIndex,
	float triggerValue
)

Parameters

 

triggerIndex
Type: System.Int32
Index in _triggers
triggerValue
Type: System.Single
Pressed value between range [0.0, 1.0]

See Also

Reference

UxrFirearmWeapon Class
UltimateXR.Mechanics.Weapons Namespace