docs.unity3d.com
    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
    Syntax
    public abstract class FaceMapperCache : IDisposable
    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
    Boolean

    Methods

    Dispose()

    Disposes the cache.

    Declaration
    public void Dispose()

    Finalize()

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

    Declaration
    protected void Finalize()

    OnDispose(Boolean)

    Frees the resources held by the cache.

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

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

    Back to top
    Terms of use
    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