Vixen
dd8b0a81
csharp
public readonly record struct MorphInstance

Where one object's morphed vertices are.

Read the guide page for this →

Remarks

⚠ A TargetCount of zero is "this object is not morphed", and that is what the zeroed array means for every object that never attached. BaseVertex cannot carry that meaning — zero is a real base, and the first instance to attach gets it.

Fields and properties (4)

  • public int BaseVertex

    Which vertex of Buffer its copy starts at, which is also its VertexOffset.

  • public int VertexCount

    How many it has.

  • public int TargetCount

    How many blend shapes its mesh carries.

  • public bool IsMorphed

    Whether this object draws from the morph buffer.

Methods (1)

  • public MorphInstance(int BaseVertex, int VertexCount, int TargetCount)

    Where one object's morphed vertices are.

Used by (3)

  • MorphRenderFeatureVixen.Rendering
  • MorphRenderFeatureTestsVixen.Rendering.Tests
  • MorphedClusterTestsVixen.Rendering.Tests