NativeBindings
Inherits from:
MagicLeapNativeBindings
Public Methods
MLResult.Code MLInputCreate
public MLResult.Code MLInputCreate(
out ulong handle
)
Parameters
Type | Name | Description |
---|---|---|
out ulong | handle |
MLResult.Code MLInputCreateCustomHapticsPattern
public MLResult.Code MLInputCreateCustomHapticsPattern(
ulong handle,
ref MLInputCustomHapticsInfo info,
ref uint patternId
)
Parameters
Type | Name | Description |
---|---|---|
ulong | handle | |
ref MLInputCustomHapticsInfo | info | |
ref uint | patternId |
MLResult.Code MLInputDeleteCustomHapticsPattern
public MLResult.Code MLInputDeleteCustomHapticsPattern(
ulong handle,
uint patternId
)
Parameters
Type | Name | Description |
---|---|---|
ulong | handle | |
uint | patternId |
MLResult.Code MLInputStartControllerFeedbackBuzzCommand
public MLResult.Code MLInputStartControllerFeedbackBuzzCommand(
ulong handle,
byte controllerId,
in MLInputBuzzCommand command
)
Parameters
Type | Name | Description |
---|---|---|
ulong | handle | |
byte | controllerId | |
in MLInputBuzzCommand | command |
MLResult.Code MLInputStartControllerFeedbackCustomHapticsPattern
public MLResult.Code MLInputStartControllerFeedbackCustomHapticsPattern(
ulong handle,
byte controllerId,
uint patternId
)
Parameters
Type | Name | Description |
---|---|---|
ulong | handle | |
byte | controllerId | |
uint | patternId |
MLResult.Code MLInputStartControllerFeedbackPreDefinedPattern
public MLResult.Code MLInputStartControllerFeedbackPreDefinedPattern(
ulong handle,
byte controllerId,
ref MLInputPreDefinedPattern pattern
)
Parameters
Type | Name | Description |
---|---|---|
ulong | handle | |
byte | controllerId | |
ref MLInputPreDefinedPattern | pattern |
MLResult.Code MLInputStopControllerFeedback
public MLResult.Code MLInputStopControllerFeedback(
ulong handle,
byte controllerId
)
Parameters
Type | Name | Description |
---|---|---|
ulong | handle | |
byte | controllerId |