public class FaceCache
extends java.lang.Object
Face instances.| Constructor and Description |
|---|
FaceCache()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFace(@NotNull Face face)
Adds a new face to the cache.
|
void |
addFace(int faceNum,
int faceSetNum,
int faceChecksum,
@NotNull java.lang.String faceName)
Adds a new face.
|
@NotNull Face |
getFace(int faceNum)
Returns a face by face id.
|
void |
reset()
Forgets about all face information.
|
public void addFace(@NotNull
@NotNull Face face)
face - the face to add@NotNull public @NotNull Face getFace(int faceNum)
faceNum - the face id to look uppublic void reset()
public void addFace(int faceNum,
int faceSetNum,
int faceChecksum,
@NotNull
@NotNull java.lang.String faceName)
faceNum - the face IDfaceSetNum - the face setfaceChecksum - the face checksumfaceName - the face name