Vixen
02b45cc4
csharp
public struct AnimatorComponent

An entity's animation.

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

Remarks

A managed component — the struct holds a reference, so the ECS keeps the object in the world's store and the chunk holds a handle. That is the right storage for this and not a compromise: an Animator owns several arrays, a list of layers and a graph, and none of that is a thing to copy into a chunk. What the chunk gets is the handle, which is what the query iterates.

It also means the animation pass reaches its animators one entity at a time rather than through a span, which is fine: the work per entity is a graph evaluation over a hundred joints, and the pointer chase to reach it is not what that frame is spending its time on.

Fields and properties (1)

Used by (14)

  • ConstraintStageBenchmarksVixen.Benchmarks.Animation
  • CrowdBenchmarksVixen.Benchmarks.Animation
  • AnimationSystemVixen.Animation
  • ConstraintGizmoSystemVixen.Animation
  • ConstraintStageTestsVixen.Animation.Tests
  • EcsIntegrationTestsVixen.Animation.Tests
  • GizmoTestsVixen.Animation.Tests
  • NetworkAnimatorApplySystemVixen.Net.Animation
  • NetworkAnimatorCaptureSystemVixen.Net.Animation
  • NetworkAnimatorTestsVixen.Net.Animation.Tests
  • NetworkBonesApplySystemVixen.Net.Animation
  • NetworkBonesCaptureSystemVixen.Net.Animation
  • NetworkBonesTestsVixen.Net.Animation.Tests
  • SkinningSystemVixen.Animation