Click or drag to resize

ToggleSwitchReactionOnSwitch Method

Called when the switch is switched on or off

Namespace:  ImmerseSDK.Interaction.Reactions
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
protected void OnSwitch(
	UserID user,
	Hands hand,
	bool on
)

Parameters

user
Type: ImmerseSDK.SessionsUserID
hand
Type: ImmerseSDK.AvatarsHands
on
Type: SystemBoolean
See Also