What's Changed
Updated bindings to r3d v0.9 with new animation tree system, sky shaders, and generator improvements.
New Bindings
- Animation Tree — state machines, blend/add/switch nodes for complex animation blending
- Sky System — procedural sky generation and custom sky shaders (
SkyShader) - Color Space — configurable sRGB/linear via
SetColorSpace - Anti-aliasing Presets — Low/Medium/High/Ultra quality presets
- New Mesh Generation —
GenMeshDataCubeEx,GenMeshDataSlope,GenMeshDataCapsule
Generator Improvements
- Opaque union support (
AnimationTreeNode) stringproperties for Cchar[]fixed buffers (no manual UTF-8 needed)- Prefer
CapacityoverCountfor Span properties on buffer structs - Improved enum prefix stripping for
Mode/Type/Statussuffixes - Correct handling of function pointers and
char**in interop
Breaking Changes (upstream renames)
AntiAliasing→AntiAliasingModeCubemapSky→ProceduralSkyGenCubemapSky()→GenProceduralSky()CUBEMAP_SKY_BASE→PROCEDURAL_SKY_BASECreateMeshData()→LoadMeshData()(CreateMeshDatais now a convenience wrapper)SetAnimationWeight()removed (useAnimationTreefor blending)
New Examples
- AnimTree — animation tree with state machines and switch nodes
- Skybox (updated) — now showcases custom sky shaders
Install
dotnet add package R3D-cs --version 0.9.0
Or download from nuget.org.
Commits
- Update bindings to r3d v0.9 (11ef08d)
Full Changelog: v0.8.2...v0.9.0