StereoKit.Templates 0.4.3

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet new install StereoKit.Templates::0.4.3                
This package contains a .NET Template Package you can call from the shell/command line.

StereoKit.Templates

These StereoKit templates are designed to be used with the dotnet new command, for easy use via command-line and environments like Visual Studio Code! The NuGet package for these templates do not need to be referenced from your project, but instead should be installed for dotnet to recognize them.

Usage

# Install the templates!
dotnet new install StereoKit.Templates

# Create a .NET Core based StereoKit project, and run it
mkdir StereoKitProjectName
cd StereoKitProjectName
dotnet new sk-net
dotnet run

# Add an unlit shader named "test_shader" to the Assets folder
dotnet new skshader-unlit -n test_shader -o Assets

Pre-requisites

The only pre-requisite for this is the .NET SDK! If you don't have the dotnet command, you can install this via winget:

winget install Microsoft.DotNet.SDK.7
# Restart the Terminal to refresh your Path variable

Or on some versions of Linux such as Ubuntu, you may find this in your package manager. If not, check Microsoft's instructions for installing dotnet on your Linux distribution.

sudo apt-get install dotnet-sdk-7.0

VS Code can also pair nicely with these templates, but they work just as well with Visual Studio "Prime".

Project templates:

Id Project Description
sk-net .NET Core Simpler project for Windows and Linux desktop XR.
sk-multi Multitarget Cross-platform project for Android/Windows/Linux XR.
sk-sketch .NET Core Bare-bones XR template for small code sketches.

Item templates:

Id Type Description
skstepper C# A simple empty class that implements IStepper.
skshader-lit Shader A basic shader that uses StereoKit's built-in lighting.
skshader-unlit Shader A simple shader without any lighting.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.7.4 345 7/13/2024
0.7.3 458 4/1/2024
0.7.2 608 3/9/2024
0.7.1 244 3/8/2024
0.7.0 479 2/27/2024
0.6.0 3,039 11/15/2023
0.5.1 442 9/27/2023
0.5.0 240 9/26/2023
0.4.5 291 9/1/2023
0.4.4 234 8/30/2023
0.4.3 288 8/23/2023
0.4.2 320 8/9/2023
0.4.1 231 7/7/2023
0.4.0 218 7/7/2023
0.3.3 264 5/17/2023
0.3.2 544 2/5/2023
0.3.1 329 1/26/2023
0.3.0 360 1/15/2023
0.2.2 370 12/22/2022
0.2.1 339 12/22/2022
0.2.0 387 12/16/2022
0.1.0 398 11/17/2022