docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FaceMapperCache

    A class used to store data needed for specific mapper implementations in a FaceActor.

    Inheritance
    object
    FaceMapperCache
    Namespace: Unity.LiveCapture.ARKitFaceCapture
    Assembly: Unity.LiveCapture.ARKitFaceCapture.dll
    Syntax
    public abstract class FaceMapperCache
    Remarks

    The cache can be used to store references to transforms and renderers on an actor, preventing the need to constantly reacquire the references in the mapper.

    Properties

    Disposed

    Has this cache been disposed.

    Declaration
    public bool Disposed { get; }
    Property Value
    Type Description
    bool

    Methods

    Dispose()

    Disposes the cache.

    Declaration
    public void Dispose()

    ~FaceMapperCache()

    The finalizer that attempts to dispose the cache if it is not properly disposed.

    Declaration
    protected ~FaceMapperCache()

    OnDispose(bool)

    Frees the resources held by the cache.

    Declaration
    protected virtual void OnDispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    True when dispose was called; false when invoked by the finalizer.

    In This Article
    Back to top
    Copyright © 2025 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)