HexapiBackground.IK.InverseKinematics.RequestSetFunction C# (CSharp) Method

RequestSetFunction() private method

private RequestSetFunction ( SelectedIkFunction selectedIkFunction ) : void
selectedIkFunction SelectedIkFunction
return void
        internal void RequestSetFunction(SelectedIkFunction selectedIkFunction)
        {
            _selectedFunction = selectedIkFunction;
        }

Usage Example

Ejemplo n.º 1
0
        internal async Task RequestSetFunctionAsync(SelectedIkFunction selectedIkFunction)
        {
            _inverseKinematics.RequestSetFunction(selectedIkFunction);

            _selectedIkFunction = selectedIkFunction;

            if (_selectedIkFunction == SelectedIkFunction.DisplayCoordinate)
            {
                await _gps.DisplayCoordinates();
            }
        }