public sealed class NetworkBonesReplicatorPuts a pose on the wire.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (9)
public const int MaxBonesHow many bones one character may replicate.
public ComponentTypeId ComponentTypeWhich component this replicates.
public NetworkBonePrecision PrecisionWhat each slot is worth. Full by default.
public uint TypeIdThe id this type has on the wire: a hash of its full name, computed at build time.
public string TypeNameThe name, for diagnostics and for the bandwidth attribution panel.
public Channel ChannelUnreliable. A pose is superseded by the next one, like a position.
public int PriorityBelow the transform. Where a character is matters more than how it is folded.
public QueryDescription ChangedQueryA query matching entities with this component, filtered on it having changed.
public ReadOnlySpan<WireLane> LanesThe fixed-width fields Write produces, in the order it produces them.
Methods (7)
public NetworkBonesReplicator()The replicator that sends every bone whole — the shipped default.
public NetworkBonesReplicator(NetworkBonePrecision precision)A replicator that spends fewer bits on the bones a game says matter less.
public bool Has(World world, Entity entity)Whether an entity has this component at all.
public static uint Narrow(uint packed, int bits)Drops the low bits of each of a packed rotation's three levels.
public static uint Widen(uint narrow, int bits)Puts a narrowed rotation back into the packed layout the component holds.
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 (8)
- NetworkAnimationSystemsVixen.Net.Animation
- NetworkAnimationWiringTestsVixen.Net.Animation.Tests
- NetworkBonePrecisionVixen.Net.Animation
- NetworkBoneSelectorVixen.Net.Animation
- NetworkBonesApplySystemVixen.Net.Animation
- NetworkBonesCaptureSystemVixen.Net.Animation
- NetworkBonesTestsVixen.Net.Animation.Tests
- RotationBlockVixen.Net.Animation