Skip to main content

FaceTeethMaskInterface

APJS Script API reference for the FaceTeethMaskInterface interface.

TypeNameInterface Description
VariablesfaceMask: Uint8Array

Function: Face mask. size = faceMaskSize * faceMaskSize

VariablesfaceMaskSize: number

Function: Face mask size.

VariablesID: number

Function: Each detected face has a unique faceID. When a face that was lost during tracking is detected again, it will have a new faceID.

Use Case

@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use FaceTeethMaskInterface here
}
onUpdate(deltaTime: number) {
}
}
Copyright © 2026 TikTok. All rights reserved.
About TikTokHelp CenterCareersContactLegalTerms of ServicePrivacy PolicyCookies