Skip to content

Commit

Permalink
CSarp: Add L500 preset enum
Browse files Browse the repository at this point in the history
  • Loading branch information
jangernert committed Jun 23, 2020
1 parent 475a62d commit 9ae8145
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions wrappers/csharp/Intel.RealSense/Types/Enums/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ target_sources(${LRS_DOTNET_TARGET}
"${CMAKE_CURRENT_LIST_DIR}/RecordingMode.cs"
"${CMAKE_CURRENT_LIST_DIR}/Rs400VisualPreset.cs"
"${CMAKE_CURRENT_LIST_DIR}/Sr300VisualPreset.cs"
"${CMAKE_CURRENT_LIST_DIR}/L500VisualPreset.cs"
"${CMAKE_CURRENT_LIST_DIR}/Stream.cs"
"${CMAKE_CURRENT_LIST_DIR}/TimestampDomain.cs"
"${CMAKE_CURRENT_LIST_DIR}/CameraInfo.cs"
Expand Down
18 changes: 18 additions & 0 deletions wrappers/csharp/Intel.RealSense/Types/Enums/L500VisualPreset.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2017 Intel Corporation. All Rights Reserved.

namespace Intel.RealSense
{
/// <summary>
/// For L500 devices: provides optimized settings (presets) for specific types of usage.
/// </summary>
public enum L500VisualPreset
{
Custom = 0,
Default = 1,
NoAmbient = 2,
LowAmbient = 3,
MaxRange = 4,
ShortRange = 5,
}
}

0 comments on commit 9ae8145

Please sign in to comment.