nn::camera::CTR::SetEffect Functionnn::Result SetEffect( CameraSelect select, Effect effect, Context context = CONTEXT_BOTH );
| Name | Description | |
|---|---|---|
| in | select | Specifies which camera to change settings for. |
| in | effect | Specifies the effect. |
| in | context | Specifies which context to change settings for. If omitted, the settings will be applied both to context A and context B. |
Result values listed below. | Value | Description |
|---|---|
Result::IsSuccess |
Process was successful. |
ResultIsSleeping |
This function is unusable because the system cover is closed. |
ResultFatalError |
There may be something physically wrong with the camera. |
Sets an image effect.
Both context A and context B for all cameras have an initial value of EFFECT_NONE.
Note: When you specify an effect with this function, you can vary the result of the effect by changing other settings at the same time.
EFFECT_NEGAFILM, you can emphasize red tones by raising the color temperature of WhiteBalance (moving it toward WHITE_BALANCE_SHADE).EFFECT_SEPIA, you can get a soft impression by lowering the Sharpness setting.Note: This function may block for an extended period if a camera is restarting.
CONFIDENTIAL