public readonly record struct VertexInfluenceThe four bones one page vertex is weighted to, decoded.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A byte an index and a byte a weight, which is not a compromise. Skinning.MaxBones is 256 because 256 mat4s is exactly the 16 KB of uniform range Vulkan guarantees — so a byte indexes the largest palette the engine has, exactly. And a weight quantized to a 255th is finer than the position it is applied to, which a page stores as a 65535th of the mesh's longest extent: a character two metres tall carries positions to a thirtieth of a millimetre, and the weight error moves a vertex by less than that.
Four influences, matching BonePalette and the glTF the importer reads. The fifth is below the weight threshold in every asset that has one.
Fields and properties (3)
Methods (2)
Used by (3)
- MeshletPageSetVixen.Rendering.VirtualGeometry
- SkinnedClusterTestsVixen.Rendering.Tests
- SkinnedPageTestsVixen.Editor.Assets.Tests