Namespace Leap::Unity::EncodingΒΆ

namespace Leap.Unity.Encoding
interface IInterpolable<T>

An interface that signifies this class can interpolate via the standard techniques

class VectorHand : public Leap.Unity.Encoding.IInterpolable<VectorHand>

A Vector-based encoding of a Leap Hand.

You can Encode a VectorHand from a Leap hand, Decode a VectorHand into a Leap hand, convert the VectorHand to a compressed byte representation using FillBytes, and decompress back into a VectorHand using FromBytes.

Also see CurlHand for a more compressed but slightly less articulated encoding. TODO: CurlHand not yet brought in from Networking module!

class VectorHandExtensions