Click or drag to resize

ToggleSwitchOnReceiveEvent Method

Called when the object is "clicked" (only on both local and remote users)

Namespace:  ImmerseSDK.Interaction
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
protected override void OnReceiveEvent(
	Avatar avatar,
	Hands hand,
	UserID user,
	byte[] payload
)

Parameters

avatar
Type: ImmerseSDK.AvatarsAvatar
hand
Type: ImmerseSDK.AvatarsHands
user
Type: ImmerseSDK.SessionsUserID
payload
Type: SystemByte
See Also