Skip to main content

Eyelashes3D

Dynamic component for 3D eyelash rendering on face meshes.

TypeNameInterface Description
Functionsconstructor()

FunctionsgetProperty(type: Eyelashes3DPropertyKey, scope: Eyelashes3DScopeKey): any

Function: Retrieves a single eyelash property.

Parameters

type: - Property key.

scope: - 'Both' (returns [left, right] array), 'Left', or 'Right'.

Returns Single value for 'Left'/'Right'; [left, right] array for 'Both'. Returns undefined when type is invalid or scope is unrecognized. The runtime type of each value follows the property key — see .

FunctionsrestoreInitialPose(): void

FunctionssetProperty(type: Eyelashes3DPropertyKey, scope: Eyelashes3DScopeKey, value: any): void

Function: Sets a single eyelash property. Silent failure: returns void with no error when value type mismatches the expected type, or when scope is 'Both' but value is not an array of length 2.

Parameters

type: - Property key.

scope: - 'Both' (value = [left, right] array), 'Left', or 'Right'.

value: - The value to set. Its runtime type must match the property key — see .

Examples

constructor()

let obj = new APJS.Eyelashes3D();

getProperty(type: Eyelashes3DPropertyKey, scope: Eyelashes3DScopeKey): any

const [leftOp, rightOp] = comp.getProperty('Opacity', 'Both') as [number, number];

const leftCurl = comp.getProperty('Curl', 'Left');

setProperty(type: Eyelashes3DPropertyKey, scope: Eyelashes3DScopeKey, value: any): void

comp.setProperty('GradientMode', 'Both', [0, 0]);      // Horizontal on both eyes

comp.setProperty('Curl', 'Left', 0.5); // curl left eye only

comp.setProperty('BlinkRotation', 'Both', [15, 15]); // 15 degrees both eyes

Use Case

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