Skip to main content

FaceReshapeRenderer

Represents a face reshape renderer that provides advanced facial reshaping capabilities.

TypeNameInterface Description
VariablesfaceIndexes: number[]

Function: Indexes of faces to apply reshaping to, using zero-based face slots. For example, 0 means the first tracked face.

Functionsconstructor()

FunctionsgetFeatureNames(): string[]

Function: Gets the list of face reshape feature names

Returns Array of face reshape feature names

FunctionsgetFeatureWeight(feature: string | number): number

Function: Gets the weight value of the face reshape feature with the specified name or index. Returns 0 if no corresponding organ slider is found or if the feature is out of bounds.

Parameters

feature: The name (string) or index (number) of the face reshape feature

Returns The weight value of the face reshape feature

FunctionssetFeatureWeight(feature: string | number, weight: number): void

Function: Sets the weight value of the face reshape feature with the specified name or index. Clamps weight between 0 and 1. Updates both organ and boundary sliders if they exist.

Parameters

feature: The name (string) or index (number) of the face reshape feature

weight: The weight value to set for the face reshape feature

Examples

constructor()

let obj = new APJS.FaceReshapeRenderer();

Use Case

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