Struct AnimationJobCache | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct AnimationJobCache

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: UnityEngine.Animations.Rigging
    Syntax
    public struct AnimationJobCache : IDisposable

    Constructors

    AnimationJobCache(Single[])

    Declaration
    public AnimationJobCache(float[] data)
    Parameters
    Type Name Description
    System.Single[] data

    Methods

    Dispose()

    Declaration
    public void Dispose()
    Implements
    System.IDisposable.Dispose()

    Get<T>(CacheIndex, Int32)

    Declaration
    public T Get<T>(CacheIndex index, int offset = 0)where T : unmanaged
    Parameters
    Type Name Description
    CacheIndex index
    System.Int32 offset
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetRaw(CacheIndex, Int32)

    Declaration
    public float GetRaw(CacheIndex index, int offset = 0)
    Parameters
    Type Name Description
    CacheIndex index
    System.Int32 offset
    Returns
    Type Description
    System.Single

    Set<T>(T, CacheIndex, Int32)

    Declaration
    public void Set<T>(T val, CacheIndex index, int offset = 0)where T : unmanaged
    Parameters
    Type Name Description
    T val
    CacheIndex index
    System.Int32 offset
    Type Parameters
    Name Description
    T

    SetArray<T>(T[], CacheIndex, Int32)

    Declaration
    public void SetArray<T>(T[] v, CacheIndex index, int offset = 0)where T : unmanaged
    Parameters
    Type Name Description
    T[] v
    CacheIndex index
    System.Int32 offset
    Type Parameters
    Name Description
    T

    SetRaw(Single, CacheIndex, Int32)

    Declaration
    public void SetRaw(float val, CacheIndex index, int offset = 0)
    Parameters
    Type Name Description
    System.Single val
    CacheIndex index
    System.Int32 offset
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023