Skip to main content

FaceBinding

APJS Script API reference for the FaceBinding class.

TypeNameInterface Description
VariablesanchorType: FaceBindingAnchorType

Function: The anchor type, default is FaceCenter.

VariablescustomAnchorPoint: Vector3f

Function: Custom anchor point offset in standard face mesh local space (cm). <br/> Used only when anchorType is Custom. <br/> Ranges: X[-8, 8] (Left->Right), Y[-9, 11] (Down->Up), Z[-6, 7] (Back->Front). <br/> See FaceBindingAnchorType for preset coordinates and custom suggestions.

VariablesfaceID: number

Function: Gets the face ID of the face binding, must be between 1 and 5.

Functionsconstructor()

Examples

constructor()

let obj = new APJS.FaceBinding();

Use Case

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