Table of Contents

Method SetSun

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

SetSun(string, Vec3f, Vec3f, Vec3f)

Sets the light direction and the ambient and diffuse RGB colors.

public static void SetSun(string windowName, Vec3f direction, Vec3f ambient, Vec3f diffuse)

Parameters

windowName string
direction Vec3f
ambient Vec3f
diffuse Vec3f