Class FaceMapperCache
A class used to store data needed for specific mapper implementations in a FaceActor.
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. |