NeutrinoParticles.V1_0.MonoGame.DX
1.0.5
dotnet add package NeutrinoParticles.V1_0.MonoGame.DX --version 1.0.5
NuGet\Install-Package NeutrinoParticles.V1_0.MonoGame.DX -Version 1.0.5
<PackageReference Include="NeutrinoParticles.V1_0.MonoGame.DX" Version="1.0.5" />
<PackageVersion Include="NeutrinoParticles.V1_0.MonoGame.DX" Version="1.0.5" />
<PackageReference Include="NeutrinoParticles.V1_0.MonoGame.DX" />
paket add NeutrinoParticles.V1_0.MonoGame.DX --version 1.0.5
#r "nuget: NeutrinoParticles.V1_0.MonoGame.DX, 1.0.5"
#:package NeutrinoParticles.V1_0.MonoGame.DX@1.0.5
#addin nuget:?package=NeutrinoParticles.V1_0.MonoGame.DX&version=1.0.5
#tool nuget:?package=NeutrinoParticles.V1_0.MonoGame.DX&version=1.0.5
NeutrinoParticles.V1_0.MonoGame
MonoGame integration for NeutrinoParticles real-time particle effects (format v1.0).
For new projects, use
NeutrinoParticles.V1_1.MonoGame.DX/.GL(v1.1 format). This v1.0 package is for projects with existing v1.0 effects.
Installation
DirectX (Windows/Xbox desktop):
dotnet add package NeutrinoParticles.V1_0.MonoGame.DX
OpenGL (cross-platform: Linux, macOS, mobile):
dotnet add package NeutrinoParticles.V1_0.MonoGame.GL
The core runtime (NeutrinoParticles.V1_0) is installed automatically as a dependency.
Export Target in Editor
In the NeutrinoParticles Editor, set the export target to C# v1.0.
After export you get a .cs file (e.g. MyEffect.cs) containing the effect model class. Add this file to your C# project.
Quick Start
In your Game class:
public class Game1 : Game
{
private NeutrinoParticles.MonoGame.Context neutrinoContext_;
private NeutrinoParticles.MonoGame.ParticleEffect effect_;
protected override void LoadContent()
{
neutrinoContext_ = new NeutrinoParticles.MonoGame.Context(
GraphicsDevice,
texturesBasePath: "particles/",
generateNoise: true
);
var effectModel = new NeutrinoParticles.MonoGame.ParticleEffectModel(
neutrinoContext_,
new NeutrinoParticles.Effect_MyCoolEffect(),
Content
);
effect_ = new NeutrinoParticles.MonoGame.ParticleEffect(
effectModel,
position: new Vector3(400, 300, 0)
);
}
protected override void Update(GameTime gameTime)
{
effect_.Update(gameTime);
}
protected override void Draw(GameTime gameTime)
{
effect_.Draw();
}
}
Common Issues
- No particles visible: Check that the export target in the editor is set to C# v1.0. Verify
texturesBasePathpoints to the correct textures directory in your Content pipeline. - Turbulence not working: Set
generateNoise: truewhen creating the context.
Documentation
Full documentation at neutrinoparticles.com.
License
Copyright (c) Yurii Miroshnyk. All rights reserved.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net8.0-windows7.0 is compatible. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.1 is compatible. |
| .NET Framework | net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETCoreApp 3.1
- MonoGame.Framework.WindowsDX (>= 3.8.0.1641)
- NeutrinoParticles.V1_0 (>= 1.0.5)
-
.NETFramework 4.5.2
- MonoGame.Framework.WindowsDX (>= 3.8.0.1641)
- NeutrinoParticles.V1_0 (>= 1.0.5)
-
net8.0-windows7.0
- MonoGame.Framework.WindowsDX (>= 3.8.0.1641)
- NeutrinoParticles.V1_0 (>= 1.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.