Skip to main content

EyeColor

APJS Script API reference for the EyeColor class.

TypeNameInterface Description
VariablesapplyingScope: EyeApplyingScope

Function: The scope to apply the eye color effect to, can be both eyes, left eye, or right eye.

Variablescolor: Color

Function: Base color of the eyes, used in combination with the makeup texture.

Variablesintensity: number

Function: The intensity of the eye color effect. Higher values make the color effect more prominent. Range [0.0, 1.0]

VariablesisOpacityEnabled: boolean

Function: Whether opacity effect is enabled.

VariablesisReflectionEnabled: boolean

Function: Whether reflection effect is enabled.

VariablesmakeupTexture: Texture | null

Function: Makeup texture used to define the eye color effect.

VariablesopacityTexture: Texture | null

Function: Opacity texture used to control transparency in different eye regions.

VariablesreflectionIntensity: number

Function: The intensity of the reflection effect. Range [0.0, 1.0]

VariablesreflectionTexture: Texture | null

Function: Reflection texture used to simulate eye shine effects.

Functionsconstructor()

Examples

constructor()

let obj = new APJS.EyeColor();

Use Case

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