-
Notifications
You must be signed in to change notification settings - Fork 18
Adding CUE.NET to a project
CUE.NET works for both x86 and x64 architecture but requires the .NET-Framework 4.5 or newer.
There is more than one way to add CUE.NET to your project. The following describes the most common ones:
This is the easiest and therefore preferred way to include CUE.NET in your project.
Just add CUE.NET from the nuget.org repository to you project using the NuGet Package Manager included in Visual Studio. Only stable packages are published to nuget.org so they should always be safe to use.
You can find the latest stable package at https://www.nuget.org/packages/CUE.NET/
If you want to use a development version you can get them from the CUE.NET MyGet gallery by adding the feed as a package source to your Visual Studio.
You need to check "Include prerelease" to see the package in Visual Studio.
This will lead to the same result as using the latest package from nuget.org but requires more work:
- Download and unpack the latest version from https://github.com/DarthAffe/CUE.NET/releases/latest.
- Add the CUE.NET.dll as a reference to your project.
- Make sure the x86 and x64 folder are copied to your application directory (e.g. by adding them as a solution item and creating a post-build event to copy them on build)
Building CUE.NET requires the roslyn compiler and therefore Visual Studio 2015 or newer!
Of course you have always the possibility to get the CUE.NET source code from github and modify (respecting the LGPL v2.1) or build it on your own.
The build process is straightforward. If you have any problems doing it you should consider using the binaries.
Please drop me a message if you find mistakes or inadequate descriptions in one of the pages here!
-
Introduction
1.1. What is CUE.NET?
1.2. What can I do with CUE.NET?
1.3. Projects using CUE.NET -
Getting started
2.1. Adding CUE.NET to a project
2.2. Initializing CUE.NET
2.3. Perform basic lighting
2.4. Understanding CUE.NET ledgroups -
Gradients
3.1. Understanding CUE.NET gradients
3.2. Linear Gradient
3.3. Rainbow Gradient
3.4. Implementing an own gradient -
Brushes
4.1. Understanding CUE.NET brushes
4.2. Color-Corrections
4.3. Solid-Color Brush
4.4. Linear-Gradient Brush
4.5. Radial-Gradient Brush
4.6. Random-Color Brush
4.7. Image-Brush
4.8. Implementing an own brush -
Effects
5.1. Understanding CUE.NET effects
5.2. Flash Effect
5.3. Move-Gradient Effect
5.4. Implementing an own effect -
Tutorials