CameraProfile.AddSettings<T>

Method in CameraProfile

Declaration

public T AddSettings<T>(bool enabled = true)
    where T : CameraSettings, new()

Description

Adds the settings of the specified type to the profile.

Type Parameters

TThe type of settings to add.

Parameters

enabledWhether the settings behavior is enabled (default=true).

Returns

TThe settings added to the profile.