You are here: Start » AVL.NET » Function Reference » Profile » Profile Basics » AVL.SetProfileElement
Sets a single element in a profile, located at the specified index.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void SetProfileElement ( AvlNet.Profile ioProfile, int inIndex, bool inInverse, float inValue )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
| ioProfile | AvlNet.Profile | ||||
![]() | inIndex | int | <0, INF> | ||
![]() | inInverse | bool | Reversed order of elements. | ||
![]() | inValue | float |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | inIndex is out of profile range in SetProfileElement. |

