Click or drag to resize

EngagingExtensionsEngage Method

Engage an engageable object. This will be a local/remote engagement based on it's type (EngageableObject)

Namespace:  ImmerseSDK.Extensions
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
public static bool Engage(
	this IEngageableObject target,
	Avatar avatar,
	Hands hand
)

Parameters

target
Type: ImmerseSDK.InteractionIEngageableObject
Target object
avatar
Type: ImmerseSDK.AvatarsAvatar
Avatar to engage the object
hand
Type: ImmerseSDK.AvatarsHands
Hand to engage with

Return Value

Type: Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEngageableObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also