Skip to main content

LookAtMode

Specifies the mode of LookAt.

TypeNameInterface Description
EnumLookAtDirection

Function: The object will look towards a specified direction.

EnumLookAtPoint

Function: The object will look at a specified point in world space.

Examples

LookAtDirection

let value = APJS.LookAtMode.LookAtDirection;

LookAtPoint

let value = APJS.LookAtMode.LookAtPoint;

Use Case

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