Vixen
02b45cc4
csharp
public struct RasterMesh

One mesh's quantization grid, as RasterMesh declares it.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Per mesh and not per cluster, which is the property that keeps a cut crack-free: a vertex on a locked boundary is referenced by a cluster on each side, and only a grid they share decodes it to the same bits from both. See QuantizationStep, which is where that argument is made at length.

Fields and properties (4)

  • public const uint NoInfluences

    What InfluenceOffset holds for a mesh with no skeleton.

  • public Vector3 QuantizationOrigin

    The corner of the grid.

  • public float QuantizationStep

    How far apart its points are, in object space.

  • public uint InfluenceOffset

    Where a vertex's bone influences sit inside it, in bytes, or NoInfluences.

Used by (2)

  • GpuClusterVisibilityVixen.Rendering
  • SkinnedClusterTestsVixen.Rendering.Tests