docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Normalize

    Normalize(NativeSlice<float3>, NativeArray<float3>)

    Normalizes all features of an encoding.

    Declaration
    public void Normalize(NativeSlice<float3> destination, NativeArray<float3> features)
    Parameters
    Type Name Description
    NativeSlice<float3> destination

    Destination array that will contain the normalized features.

    NativeArray<float3> features

    Source array that the features are read from.

    Remarks

    Encodings contain fragments which represent either poses or trajectories. Fragments in turn store features that have been normalized subject to their respective domain (positions and velocities will be normalized differently).

    See Also
    Binary.CodeBook.Encoding
    InverseNormalize(NativeSlice<float3>, NativeArray<float3>)

    Normalize(NativeArray<float3>)

    Normalizes all features of an encoding.

    Declaration
    public void Normalize(NativeArray<float3> fragment)
    Parameters
    Type Name Description
    NativeArray<float3> fragment

    Feature array that should be normalized.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)