Vixen
02b45cc4
csharp
public sealed class NetworkAnimatorReplicator

Puts an animator's state machine position on the wire.

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

Fields and properties (11)

  • public const int MaxParameters

    How many parameters are replicated.

  • public const int TimeBits

    How many bits the normalised time costs.

  • public static QuantizeRange TimeRange

    The range a normalised time lives in.

  • public static QuantizeRange SpeedRange

    The range a playback speed lives in.

  • public ComponentTypeId ComponentType

    Which component this replicates.

  • public uint TypeId

    The id this type has on the wire: a hash of its full name, computed at build time.

  • public string TypeName

    The name, for diagnostics and for the bandwidth attribution panel.

  • public Channel Channel

    Unreliable. The state repeats every tick, so a lost one is a tick late.

  • public int Priority

    What to shed last. Higher goes first.

  • public QueryDescription ChangedQuery

    A query matching entities with this component, filtered on it having changed.

  • public ReadOnlySpan<WireLane> Lanes

    The fixed-width fields Write produces, in the order it produces them.

Methods (3)

  • public bool Has(World world, Entity entity)

    Whether an entity has this component at all.

  • public void Write(World world, Entity entity, ref BitWriter writer)

    Encodes an entity's component.

  • public bool Apply(World world, Entity entity, ref BitReader reader)

    Decodes a component and puts it on an entity, adding it if it is not there.

Used by (3)

  • NetworkAnimatorCaptureSystemVixen.Net.Animation
  • NetworkAnimatorParametersReplicatorVixen.Net.Animation
  • ParameterBlockVixen.Net.Animation